commit 280903cf2ac651003255618fde33a108de84d8c7
parent 67de616a29de16651f34e5603134f59ceaa654ff
Author: ThomasV <thomasv@gitorious>
Date: Tue, 11 Nov 2014 20:42:21 +0100
fix create_status_bar hook
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -185,6 +185,7 @@ class ElectrumWindow(QMainWindow):
self.payment_request = None
self.qr_window = None
self.not_enough_funds = False
+ self.pluginsdialog = None
def update_account_selector(self):
# account selector
@@ -1736,7 +1737,7 @@ class ElectrumWindow(QMainWindow):
self.status_button = StatusBarButton( QIcon(":icons/status_disconnected.png"), _("Network"), self.run_network_dialog )
sb.addPermanentWidget( self.status_button )
- run_hook('create_status_bar', (sb,))
+ run_hook('create_status_bar', sb)
self.setStatusBar(sb)