diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 62be933..862810b 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -250,6 +250,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog): self.template_name.insertItem(i, text) i += 1 self.template_name.setCurrentIndex(self.template_idx) + self.template_name.setEnabled(not self.vm.is_running()) else: self.template_name.setEnabled(False) self.template_idx = -1 diff --git a/settingsdlg.ui b/settingsdlg.ui index cc1d7ca..82d00bc 100644 --- a/settingsdlg.ui +++ b/settingsdlg.ui @@ -65,7 +65,7 @@ - Template: + <html><head/><body><p>Template<span style=" color:#ff0000;">*</span>:</p></body></html> template_name