Browse Source

fix 1360

283
ThomasV 10 years ago
parent
commit
17948fb781
  1. 3
      gui/qt/lite_window.py
  2. 4
      gui/qt/main_window.py

3
gui/qt/lite_window.py

@ -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

4
gui/qt/main_window.py

@ -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 )

Loading…
Cancel
Save