From 17278f722454195e1a3ceef005bcf392292c5763 Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Fri, 28 Nov 2014 15:01:23 +0000 Subject: [PATCH] Closed wizard then open mainwindow #4235 --- src/gui/src/SetupWizard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/SetupWizard.cpp b/src/gui/src/SetupWizard.cpp index bd420998..5a8fbeaa 100644 --- a/src/gui/src/SetupWizard.cpp +++ b/src/gui/src/SetupWizard.cpp @@ -123,13 +123,13 @@ void SetupWizard::accept() settings.sync(); + QWizard::accept(); + if (m_StartMain) { m_MainWindow.updateZeroconfService(); m_MainWindow.open(); } - - QWizard::accept(); } void SetupWizard::reject()