show warning about offline mode instead of returning silently
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user