From ee19c96be529736cc0b0eb77c02be8297cdbd01d Mon Sep 17 00:00:00 2001 From: Agnieszka Kostrzewa Date: Wed, 7 Mar 2012 16:18:35 +0100 Subject: [PATCH] Enabled stop buttons for netvms (ticket #457) --- qubesmanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 09c301e..9d2298b 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -780,7 +780,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): self.action_removevm.setEnabled(not vm.installed_by_rpm and not vm.last_power_state) self.action_resumevm.setEnabled(not vm.last_power_state) self.action_pausevm.setEnabled(vm.last_power_state and vm.qid != 0) - self.action_shutdownvm.setEnabled(not vm.is_netvm() and vm.last_power_state and vm.qid != 0) + self.action_shutdownvm.setEnabled(vm.last_power_state and vm.qid != 0) self.action_appmenus.setEnabled(not vm.is_netvm()) self.action_editfwrules.setEnabled(vm.is_networked() and not (vm.is_netvm() and not vm.is_proxyvm())) self.action_updatevm.setEnabled(vm.is_updateable() or vm.qid == 0)