Commit fa52097b authored by Patrick José Pereira's avatar Patrick José Pereira

MainWindowHybrid: Close app if something goes wrong with item

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 176541d2
......@@ -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