show warning about offline mode instead of returning silently

This commit is contained in:
ThomasV 2014-09-17 16:43:14 +02:00
parent 39719dda9c
commit 134c93be4b
1 changed files with 1 additions and 0 deletions

View File

@ -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()