fix 1360
This commit is contained in:
parent
471cab6089
commit
17948fb781
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue