From bc07e3726635f08e0576e61b3dd8399ef50497f7 Mon Sep 17 00:00:00 2001 From: donoban Date: Wed, 9 May 2018 12:05:07 +0200 Subject: [PATCH] Refresh table selection when pause/resume Since them dont have dbus events we need to manually update the selection --- qubesmanager/qube_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 648aead..32fd841 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -770,6 +770,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): try: vm.unpause() self.vms_in_table[vm.qid].update() + self.table_selection_changed() except exc.QubesException as ex: QtGui.QMessageBox.warning( None, self.tr("Error unpausing Qube!"), @@ -822,6 +823,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): try: vm.pause() self.vms_in_table[vm.qid].update() + self.table_selection_changed() except exc.QubesException as ex: QtGui.QMessageBox.warning( None,