Prevent settingsDialog from setting dontconnect = false

if "Work offline" was checked in the ConnectDialog
This commit is contained in:
Dmitri Bogomolov 2018-03-20 17:54:27 +02:00
parent cbb228db8b
commit 9ccd3a0989
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -1555,6 +1555,8 @@ class MyForm(settingsmixin.SMainWindow):
BMConfigParser().save() BMConfigParser().save()
elif dialog.radioButtonConfigureNetwork.isChecked(): elif dialog.radioButtonConfigureNetwork.isChecked():
self.click_actionSettings() self.click_actionSettings()
else:
self._firstrun = False
def showMigrationWizard(self, level): def showMigrationWizard(self, level):
self.migrationWizardInstance = Ui_MigrationWizard(["a"]) self.migrationWizardInstance = Ui_MigrationWizard(["a"])