tfix syntax error and indentation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 789223c8715103fd24158e23322992e7ad51e136 DIR parent e1504ba80b108a4b4eabb04a43fe77f0eb5d2408 HTML Author: thomasv <thomasv@gitorious> Date: Wed, 30 Jan 2013 20:27:28 +0100 fix syntax error and indentation Diffstat: M lib/gui_qt.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -1259,11 +1259,10 @@ class ElectrumWindow(QMainWindow): update_notification = UpdateLabel(self.config) if(update_notification.new_version): - sb.addPermanentWidget(update_notification) - else: + sb.addPermanentWidget(update_notification) 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: 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 ) )