restart wizzard when wrong password or backup corrupted

fix: https://github.com/QubesOS/qubes-issues/issues/1589
This commit is contained in:
donoban 2018-10-22 23:47:51 +02:00
rodzic 0e951dc156
commit 9102d200bd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 141310D8E3ED08A5

Wyświetl plik

@ -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)