diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index f1caf9b4..a859243a 100644 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -897,6 +897,9 @@ def __init_advanced_tab__(self): self.dvm_template_checkbox.setChecked( getattr(self.vm, 'template_for_dispvms', False)) + if not hasattr(self.vm, 'template_for_dispvms'): + self.dvm_template_checkbox.setEnabled(False) + self.provides_network_checkbox.setChecked( getattr(self.vm, 'provides_network', False)) if self.provides_network_checkbox.isChecked(): diff --git a/ui/settingsdlg.ui b/ui/settingsdlg.ui index aa4ee41d..9c0aab0a 100644 --- a/ui/settingsdlg.ui +++ b/ui/settingsdlg.ui @@ -752,7 +752,7 @@ border-width: 1px; - <html><head/><body><p>Allows using this qube as a template for disposables. Disposables will inherit the qube's state (configuration, installed programs, etc.), but their state will not persist between restarts. </p><p>Setting this option will cause this qube to be listed as an option in the &quot;Default disposable template&quot; list for all other qubes. </p></body></html> + <html><head/><body><p>Allows using this qube as a template for disposables. Disposables will inherit the qube's state (configuration, installed programs, etc.), but their state will not persist between restarts. </p><p>Setting this option will cause this qube to be listed as an option in the &quot;Default disposable template&quot; list for all other qubes.</p><p>Only AppVMs and StandaloneVMs could be turned in to Disposable Templates</p></body></html> Disposable template