Skip to content

Commit

Permalink
Fix issue when asking to run the setup wizard again. Ref #2846
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Aug 29, 2019
1 parent 593cb8c commit 5b4481c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gns3/dialogs/setup_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ def done(self, result):
if result:
reply = QtWidgets.QMessageBox.question(self, "Wizard", "Do you want to run the wizard again when starting GNS3?",
QtWidgets.QMessageBox.Yes, QtWidgets.QMessageBox.No)
if reply == QtWidgets.QMessageBox.No:
if reply == QtWidgets.QMessageBox.Yes:
settings["hide_setup_wizard"] = False
elif reply == QtWidgets.QMessageBox.No:
settings["hide_setup_wizard"] = True
else:
local_server_settings = LocalServer.instance().localServerSettings()
Expand Down

0 comments on commit 5b4481c

Please sign in to comment.