From 6faf1acc055153bbf01f93bf33e0eb45d927aa18 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 4 Oct 2013 15:55:10 +0200 Subject: [PATCH] fix notifications --- gui/qt/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 4510f20b3..01011ed58 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -459,6 +459,9 @@ class ElectrumWindow(QMainWindow): def notify_transactions(self): + if not self.network.is_connected(): + return + print_error("Notifying GUI") if len(self.network.interface.pending_transactions_for_notifications) > 0: # Combine the transactions if there are more then three