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,8 +22,13 @@ Item { ...@@ -22,8 +22,13 @@ Item {
} }
function attemptWindowClose() { function attemptWindowClose() {
try {
mainWindowInner.item.attemptWindowClose() mainWindowInner.item.attemptWindowClose()
} }
finally {
controller.reallyClose()
}
}
function showMessage(message) { function showMessage(message) {
mainWindowInner.item.showMessage(message) mainWindowInner.item.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