fixed trailing spaces
This commit is contained in:
parent
c7b28ca6c8
commit
1f26067a1d
@ -121,7 +121,7 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
||||
self.template_vm.setItemText(
|
||||
i, str(default_template) + " (default)")
|
||||
|
||||
self.template_type="template"
|
||||
self.template_type = "template"
|
||||
|
||||
utils.initialize_widget_with_default(
|
||||
widget=self.netvm,
|
||||
@ -271,8 +271,8 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
||||
utils.translate("(none)"), None)
|
||||
|
||||
self.template_vm.setCurrentIndex(0)
|
||||
self.template_type="dispvm"
|
||||
elif self.template_type=="dispvm":
|
||||
self.template_type = "dispvm"
|
||||
elif self.template_type == "dispvm":
|
||||
self.template_vm.clear()
|
||||
|
||||
for vm in self.app.domains:
|
||||
@ -285,7 +285,7 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
||||
utils.translate("(none)"), None)
|
||||
|
||||
self.template_vm.setCurrentIndex(0)
|
||||
self.template_type="template"
|
||||
self.template_type = "template"
|
||||
|
||||
def install_change(self):
|
||||
if self.install_system.isChecked():
|
||||
|
Loading…
Reference in New Issue
Block a user