[ui] Main: fix action triggered by "Quit" button

Make sure to pass through the onClosing signal handler instead of just force quit the application.
This commit is contained in:
Julien-Haudegond 2020-08-27 12:49:50 +02:00
parent e64c66e447
commit 91bd464ed7

View file

@ -481,7 +481,7 @@ ApplicationWindow {
MenuSeparator { }
Action {
text: "Quit"
onTriggered: Qt.quit()
onTriggered: _window.close()
}
}
Menu {