Do not terminate the thread
self.back_restore.canceled will do the abort
This commit is contained in:
parent
988b7a6479
commit
c42203098f
@ -275,8 +275,6 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
|||||||
self.append_output('<font color="red">{0}</font>'.format(
|
self.append_output('<font color="red">{0}</font>'.format(
|
||||||
self.tr("Aborting the operation...")))
|
self.tr("Aborting the operation...")))
|
||||||
self.button(self.CancelButton).setDisabled(True)
|
self.button(self.CancelButton).setDisabled(True)
|
||||||
|
|
||||||
self.thread.terminate()
|
|
||||||
else:
|
else:
|
||||||
self.done(0)
|
self.done(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user