From 6cf0e83b1da1ba8be3b5fcc156765ec5477dcee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Tue, 2 Apr 2019 22:16:55 +0200 Subject: [PATCH] Fixed device list behavior for a running VM in VM settings PCI devices will now correctly be unmodifiable if the VM is running. fixes QubesOS/qubes-issues#4933 --- qubesmanager/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 9be8256..b25403d 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -966,6 +966,8 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog): self.update_pvh_dont_support_devs() + self.dev_list.setEnabled(not self.vm.is_running()) + def __apply_devices_tab__(self): msg = []