Fixed problem with setting default_dispvm to None in Global Settings
fixes QubesOS/qubes-issues#4114
This commit is contained in:
parent
27a5c58b33
commit
6377983f9a
@ -98,7 +98,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
|
||||
self.default_dispvm_combo,
|
||||
self.qvm_collection, 'default_dispvm',
|
||||
None,
|
||||
(lambda vm: getattr(vm, 'template_for_dispvms', False))
|
||||
(lambda vm: getattr(vm, 'template_for_dispvms', False)),
|
||||
allow_none=True
|
||||
)
|
||||
|
||||
def __apply_system_defaults__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user