Do not terminate the thread

self.back_restore.canceled will do the abort
This commit is contained in:
donoban 2018-10-27 13:00:19 +02:00
parent 988b7a6479
commit c42203098f
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -275,8 +275,6 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
self.append_output('<font color="red">{0}</font>'.format(
self.tr("Aborting the operation...")))
self.button(self.CancelButton).setDisabled(True)
self.thread.terminate()
else:
self.done(0)