Browse Source

Merge pull request #6155 from bluerobotics/patrickelectric/solve_close_issue

MainWindowHybrid: Close app if something goes wrong with item
QGC4.4
Gus Grubba 7 years ago committed by GitHub
parent
commit
eba58fe3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/ui/MainWindowHybrid.qml

7
src/ui/MainWindowHybrid.qml

@ -22,7 +22,12 @@ Item { @@ -22,7 +22,12 @@ Item {
}
function attemptWindowClose() {
mainWindowInner.item.attemptWindowClose()
try {
mainWindowInner.item.attemptWindowClose()
}
finally {
controller.reallyClose()
}
}
function showMessage(message) {

Loading…
Cancel
Save