restart wizzard when wrong password or backup corrupted
fix: https://github.com/QubesOS/qubes-issues/issues/1589
This commit is contained in:
parent
0e951dc156
commit
9102d200bd
@ -171,6 +171,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
|||||||
self.select_vms_widget.available_list.addItem(vmname)
|
self.select_vms_widget.available_list.addItem(vmname)
|
||||||
except exc.QubesException as ex:
|
except exc.QubesException as ex:
|
||||||
QtGui.QMessageBox.warning(None, self.tr("Restore error!"), str(ex))
|
QtGui.QMessageBox.warning(None, self.tr("Restore error!"), str(ex))
|
||||||
|
self.restart()
|
||||||
|
|
||||||
def append_output(self, text):
|
def append_output(self, text):
|
||||||
self.commit_text_edit.append(text)
|
self.commit_text_edit.append(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user