fix syntax error and indentation
This commit is contained in:
parent
e1504ba80b
commit
789223c871
|
@ -1259,11 +1259,10 @@ class ElectrumWindow(QMainWindow):
|
||||||
|
|
||||||
update_notification = UpdateLabel(self.config)
|
update_notification = UpdateLabel(self.config)
|
||||||
if(update_notification.new_version):
|
if(update_notification.new_version):
|
||||||
sb.addPermanentWidget(update_notification)
|
sb.addPermanentWidget(update_notification)
|
||||||
else:
|
|
||||||
|
|
||||||
if (int(qtVersion[0]) >= 4 and int(qtVersion[2]) >= 7):
|
if (int(qtVersion[0]) >= 4 and int(qtVersion[2]) >= 7):
|
||||||
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/switchgui.png"), _("Switch to Lite Mode"), self.go_lite ) )
|
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/switchgui.png"), _("Switch to Lite Mode"), self.go_lite ) )
|
||||||
if self.wallet.seed:
|
if self.wallet.seed:
|
||||||
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/lock.png"), _("Password"), lambda: self.change_password_dialog(self.wallet, self) ) )
|
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/lock.png"), _("Password"), lambda: self.change_password_dialog(self.wallet, self) ) )
|
||||||
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/preferences.png"), _("Preferences"), self.settings_dialog ) )
|
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/preferences.png"), _("Preferences"), self.settings_dialog ) )
|
||||||
|
|
Loading…
Reference in New Issue