Refresh table selection when pause/resume
Since them dont have dbus events we need to manually update the selection
This commit is contained in:
parent
e2e66cbccb
commit
bc07e37266
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user