1
0

enable gui switch button (classic <-> lite) both ways

This commit is contained in:
thomasv
2013-01-09 10:42:19 +01:00
parent 29305af780
commit e9e117712a
2 changed files with 11 additions and 8 deletions

View File

@@ -1158,8 +1158,8 @@ class ElectrumWindow(QMainWindow):
sb = QStatusBar()
sb.setFixedHeight(35)
qtVersion = qVersion()
# 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 ) )
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/preferences.png"), "Preferences", self.settings_dialog ) )