Minor error message handling fix

This commit is contained in:
Marek Marczykowski-Górecki 2014-04-24 12:58:38 +02:00
parent 59b98f7b51
commit 978af55bbb

View File

@ -831,7 +831,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
if vm.qid == qid:
vm.qubes_manager_state[QMVmState.ErrorMsg] = message
# Store error in separate dict to make it immune to VM list reload
self.vm_errors[qid] = message
self.vm_errors[qid] = str(message)
def clear_error(self, qid):
self.vm_errors.pop(qid, None)