This commit is contained in:
ThomasV 2015-07-15 13:54:29 +02:00
parent 471cab6089
commit 17948fb781
2 changed files with 4 additions and 3 deletions

View File

@ -311,9 +311,10 @@ class MiniWindow(QDialog):
dest_address, amount, label, message, request_url = util.parse_URI(URI)
except:
return
amount_text = str(D(amount) / (10**self.actuator.g.decimal_point))
self.address_input.setText(dest_address)
self.address_field_changed(dest_address)
self.amount_input.setText(str(amount))
self.amount_input.setText(amount_text)
def activate(self):
pass

View File

@ -1748,8 +1748,8 @@ class ElectrumWindow(QMainWindow):
self.search_box.hide()
sb.addPermanentWidget(self.search_box)
#if (int(qtVersion[0]) >= 4 and int(qtVersion[2]) >= 7):
# sb.addPermanentWidget( StatusBarButton( QIcon(":icons/switchgui.png"), _("Switch to Lite Mode"), self.go_lite ) )
if (int(qtVersion[0]) >= 4 and int(qtVersion[2]) >= 7):
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/switchgui.png"), _("Switch to Lite Mode"), self.go_lite ) )
self.lock_icon = QIcon()
self.password_button = StatusBarButton( self.lock_icon, _("Password"), self.change_password_dialog )