Skip to content
Snippets Groups Projects
Commit 4903973b authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Sébastien Blin
Browse files

mainview: quit the application when closing the wizard window

Change-Id: I66b7867d38ddcbec6fd68728d9282f32c11d7449
parent 06fbda77
No related branches found
No related tags found
No related merge requests found
...@@ -95,10 +95,12 @@ ApplicationWindow { ...@@ -95,10 +95,12 @@ ApplicationWindow {
wizardView.close() wizardView.close()
} }
onWizardViewIsClosed: { onWizardViewIsClosed: parent.close()
if (mainViewLoader.source.toString() !== "qrc:/src/mainview/MainView.qml") { }
Qt.quit()
} onClosing: {
if (mainViewLoader.source.toString() !== "qrc:/src/mainview/MainView.qml") {
Qt.quit()
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment