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:
		
							parent
							
								
									ee8bce269f
								
							
						
					
					
						commit
						6cf0e83b1d
					
				| @ -966,6 +966,8 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog): | |||||||
| 
 | 
 | ||||||
|         self.update_pvh_dont_support_devs() |         self.update_pvh_dont_support_devs() | ||||||
| 
 | 
 | ||||||
|  |         self.dev_list.setEnabled(not self.vm.is_running()) | ||||||
|  | 
 | ||||||
|     def __apply_devices_tab__(self): |     def __apply_devices_tab__(self): | ||||||
|         msg = [] |         msg = [] | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marta Marczykowska-Górecka
						Marta Marczykowska-Górecka