And also fixed problem with setting default template to None
The bug was the same.
This commit is contained in:
parent
6377983f9a
commit
a4c63cc939
@ -89,7 +89,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
|
|||||||
self.default_template_combo,
|
self.default_template_combo,
|
||||||
self.qvm_collection, 'default_template',
|
self.qvm_collection, 'default_template',
|
||||||
None,
|
None,
|
||||||
filter_function=(lambda vm: vm.klass == 'TemplateVM')
|
filter_function=(lambda vm: vm.klass == 'TemplateVM'),
|
||||||
|
allow_none=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# default dispvm
|
# default dispvm
|
||||||
|
Loading…
Reference in New Issue
Block a user