Fixed Backup tool's QT bug

Exiting the program was handled incorrectly.

fixes QubesOS/qubes-issues#4677
This commit is contained in:
Marta Marczykowska-Górecka 2019-01-16 20:21:46 +01:00
parent 0410518d29
commit f047a56906
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -418,6 +418,7 @@ def main():
qt_app.setOrganizationName("The Qubes Project")
qt_app.setOrganizationDomain("http://qubes-os.org")
qt_app.setApplicationName("Qubes Backup VMs")
qt_app.lastWindowClosed.connect(loop_shutdown)
sys.excepthook = handle_exception