Don't complain about being disconnected if in offline mode
This commit is contained in:
parent
ced3f78fb4
commit
9807d3e4b4
|
@ -2663,7 +2663,8 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
else:
|
else:
|
||||||
PendingDownloadQueue.stop()
|
PendingDownloadQueue.stop()
|
||||||
|
|
||||||
if shared.statusIconColor == 'red':
|
if shared.statusIconColor == 'red' and not BMConfigParser().safeGetBoolean(
|
||||||
|
'bitmessagesettings', 'dontconnect'):
|
||||||
reply = QtGui.QMessageBox.question(self, _translate("MainWindow", "Not connected"),
|
reply = QtGui.QMessageBox.question(self, _translate("MainWindow", "Not connected"),
|
||||||
_translate("MainWindow", "Bitmessage isn't connected to the network. If you quit now, it may cause delivery delays. Wait until connected and the synchronisation finishes?"),
|
_translate("MainWindow", "Bitmessage isn't connected to the network. If you quit now, it may cause delivery delays. Wait until connected and the synchronisation finishes?"),
|
||||||
QtGui.QMessageBox.Yes|QtGui.QMessageBox.No|QtGui.QMessageBox.Cancel, QtGui.QMessageBox.Cancel)
|
QtGui.QMessageBox.Yes|QtGui.QMessageBox.No|QtGui.QMessageBox.Cancel, QtGui.QMessageBox.Cancel)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user