show warning about offline mode instead of returning silently
This commit is contained in:
parent
39719dda9c
commit
134c93be4b
|
@ -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…
Reference in New Issue