From 29e386c6bfc474ad88511bdc49781d50f8857e20 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 19 Jun 2012 00:24:13 +0200 Subject: [PATCH] disable settings action for dom0 (#597) --- qubesmanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 7bc68e0..c66fc49 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -1053,7 +1053,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): if vm != None: # Update available actions: - self.action_settings.setEnabled(True) + self.action_settings.setEnabled(vm.qid != 0) self.action_removevm.setEnabled(not vm.installed_by_rpm and not (vm.last_running)) self.action_resumevm.setEnabled(not vm.last_running) self.action_pausevm.setEnabled(vm.last_running and vm.qid != 0)