From 77cf9bf1d23301a54f2849c0c5d8ce980b14fc0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Fri, 19 Oct 2018 20:06:30 +0200 Subject: [PATCH] Fixed error in qube manager of change of global settings Changing global properties fired an event that crashed qube manager. fixes QubesOS/qubes-issues#4385 --- qubesmanager/qube_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 292b96e..9a44f48 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -476,6 +476,8 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): row.info_widget.update_vm_state() def on_domain_changed(self, vm, _event, **_kwargs): + if not vm: # change of global properties occured + return try: self.vms_in_table[vm.qid].update() except exc.QubesPropertyAccessError: