From 134c93be4bedc8da0b5511e0b30a6ef259724e2c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 17 Sep 2014 16:43:14 +0200 Subject: [PATCH] show warning about offline mode instead of returning silently --- gui/qt/main_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 1d7f7b5c..f41848dc 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -2696,6 +2696,7 @@ class ElectrumWindow(QMainWindow): def run_network_dialog(self): if not self.network: + QMessageBox.warning(self, _('Offline'), _('You are using Electrum in offline mode.\nRestart Electrum if you want to get connected.'), _('OK')) return NetworkDialog(self.wallet.network, self.config, self).do_exec()