Unverified Commit eba58fe3 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #6155 from bluerobotics/patrickelectric/solve_close_issue

MainWindowHybrid: Close app if something goes wrong with item
parents 176541d2 fa52097b
......@@ -22,7 +22,12 @@ Item {
}
function attemptWindowClose() {
mainWindowInner.item.attemptWindowClose()
try {
mainWindowInner.item.attemptWindowClose()
}
finally {
controller.reallyClose()
}
}
function showMessage(message) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment