wait thread to finish when aborting
This commit is contained in:
parent
f477084bfe
commit
6fdf16278e
@ -366,6 +366,7 @@ class BackupVMsWindow(ui_backupdlg.Ui_Backup, multiselectwidget.QtGui.QWizard):
|
|||||||
self.qubes_app.qubesd_call(
|
self.qubes_app.qubesd_call(
|
||||||
'dom0', 'admin.backup.Cancel',
|
'dom0', 'admin.backup.Cancel',
|
||||||
backup_utils.get_profile_name(True))
|
backup_utils.get_profile_name(True))
|
||||||
|
self.thread.wait()
|
||||||
QtGui.QMessageBox.warning(
|
QtGui.QMessageBox.warning(
|
||||||
self, self.tr("Backup aborted!"),
|
self, self.tr("Backup aborted!"),
|
||||||
self.tr("ERROR: {}").format("Aborted!"))
|
self.tr("ERROR: {}").format("Aborted!"))
|
||||||
|
Loading…
Reference in New Issue
Block a user