Enable pause button

This commit is contained in:
Marek Marczykowski 2011-03-02 14:52:13 +01:00
parent eb607cead6
commit 2f438739c8

View File

@ -491,7 +491,7 @@ class VmManagerWindow(QMainWindow):
self.action_removevm.setEnabled(not vm.installed_by_rpm and not vm.is_running())
self.action_resumevm.setEnabled(not vm.is_running())
#self.action_pausevm.setEnabled(vm.is_running() and vm.qid != 0)
self.action_pausevm.setEnabled(vm.is_running() and vm.qid != 0)
self.action_shutdownvm.setEnabled(vm.is_running() and vm.qid != 0)
self.action_updatevm.setEnabled(vm.is_updateable() and not vm.is_running())