Fix error/success message on dialog

This commit is contained in:
donoban 2018-10-27 12:58:58 +02:00
parent 6045f451c6
commit 988b7a6479
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -227,9 +227,8 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
if self.thread.msg:
QtGui.QMessageBox.warning(
None,
self.tr("Backup msg!"),
self.tr("ERROR: {0}").format(
self.thread.msg))
self.tr("Restore qubes"),
self.tr(self.thread.msg)
if self.thread.msg:
self.append_output(self.thread.msg)