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
This commit is contained in:
Marta Marczykowska-Górecka 2019-04-02 22:16:55 +02:00
parent ee8bce269f
commit 6cf0e83b1d
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -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 = []