fixed trailing spaces

This commit is contained in:
ctrlaltf24 2020-12-13 09:23:39 -08:00
parent c7b28ca6c8
commit 1f26067a1d
No known key found for this signature in database
GPG Key ID: F7E614D38BE5C4CA

View File

@ -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():