commit 134c93be4bedc8da0b5511e0b30a6ef259724e2c
parent 39719dda9cdc3967b318d6f5659e0e11b03eb16a
Author: ThomasV <thomasv@gitorious>
Date: Wed, 17 Sep 2014 16:43:14 +0200
show warning about offline mode instead of returning silently
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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()