tshow warning about offline mode instead of returning silently - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 134c93be4bedc8da0b5511e0b30a6ef259724e2c
DIR parent 39719dda9cdc3967b318d6f5659e0e11b03eb16a
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 17 Sep 2014 16:43:14 +0200
show warning about offline mode instead of returning silently
Diffstat:
M gui/qt/main_window.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -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()