Template should not be enabled for running VMs in VM Settings
This commit is contained in:
parent
08d1435eea
commit
96e75b350a
@ -400,6 +400,9 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtWidgets.QDialog):
|
|||||||
self.template_name.setEnabled(False)
|
self.template_name.setEnabled(False)
|
||||||
self.template_idx = -1
|
self.template_idx = -1
|
||||||
|
|
||||||
|
if self.vm.is_running():
|
||||||
|
self.template_name.setEnabled(False)
|
||||||
|
|
||||||
self.netvm_list, self.netvm_idx = utils.prepare_vm_choice(
|
self.netvm_list, self.netvm_idx = utils.prepare_vm_choice(
|
||||||
self.netVM,
|
self.netVM,
|
||||||
self.vm, 'netvm',
|
self.vm, 'netvm',
|
||||||
|
Loading…
Reference in New Issue
Block a user