Merge remote-tracking branch 'origin/pr/134'
* origin/pr/134: Fix error in qube manager
This commit is contained in:
commit
5edb1fdc6a
@ -427,8 +427,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
|
|||||||
if vm.klass in {'TemplateVM', 'StandaloneVM'}:
|
if vm.klass in {'TemplateVM', 'StandaloneVM'}:
|
||||||
try:
|
try:
|
||||||
self.vms_in_table[vm.qid].update()
|
self.vms_in_table[vm.qid].update()
|
||||||
except exc.QubesException:
|
except (exc.QubesException, KeyError):
|
||||||
# the VM might have vanished in the meantime
|
# the VM might have vanished in the meantime or
|
||||||
|
# the signal might have been handled in the wrong order
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def on_domain_added(self, _submitter, _event, vm, **_kwargs):
|
def on_domain_added(self, _submitter, _event, vm, **_kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user