Browse Source

show warning about offline mode instead of returning silently

283
ThomasV 10 years ago
parent
commit
134c93be4b
  1. 1
      gui/qt/main_window.py

1
gui/qt/main_window.py

@ -2696,6 +2696,7 @@ class ElectrumWindow(QMainWindow):
def run_network_dialog(self): def run_network_dialog(self):
if not self.network: 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 return
NetworkDialog(self.wallet.network, self.config, self).do_exec() NetworkDialog(self.wallet.network, self.config, self).do_exec()

Loading…
Cancel
Save