src/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py

branch
eric7
changeset 9433
6df1aeaa4529
parent 9221
bf71ee032bb4
child 9442
906485dcd210
child 9473
3f23dbf37dbe
--- a/src/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Tue Oct 25 17:25:51 2022 +0200
+++ b/src/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Wed Oct 26 11:50:03 2022 +0200
@@ -204,7 +204,7 @@
                     code += ',{0}{1}"{2}"'.format(
                         os.linesep, istring, self.eTextDefault.text()
                     )
-            code += "{0}){0}".format(estring)
+            code += ",{0}){0}".format(estring)
         elif self.rMultiLineText.isChecked():
             code += "getMultiLineText({0}{1}".format(os.linesep, istring)
             code += "{0},{1}{2}".format(parent, os.linesep, istring)
@@ -218,7 +218,7 @@
                     code += ',{0}{1}self.tr("{2}")'.format(os.linesep, istring, defTxt)
                 else:
                     code += ',{0}{1}"{2}"'.format(os.linesep, istring, defTxt)
-            code += "{0}){0}".format(estring)
+            code += ",{0}){0}".format(estring)
         elif self.rInteger.isChecked():
             code += "getInt({0}{1}".format(os.linesep, istring)
             code += "{0},{1}{2}".format(parent, os.linesep, istring)
@@ -234,7 +234,7 @@
                 self.sIntTo.value(),
                 self.sIntStep.value(),
             )
-            code += "{0}){0}".format(estring)
+            code += ",{0}){0}".format(estring)
         elif self.rDouble.isChecked():
             try:
                 doubleDefault = float(self.eDoubleDefault.text())
@@ -259,7 +259,7 @@
             code += "{0}, {1}, {2}, {3:d}".format(
                 doubleDefault, doubleFrom, doubleTo, self.sDoubleDecimals.value()
             )
-            code += "{0}){0}".format(estring)
+            code += ",{0}){0}".format(estring)
         elif self.rItem.isChecked():
             code += "getItem({0}{1}".format(os.linesep, istring)
             code += "{0},{1}{2}".format(parent, os.linesep, istring)
@@ -273,6 +273,6 @@
             code += "{0:d}, {1}".format(
                 self.sCurrentItem.value(), self.cEditable.isChecked()
             )
-            code += "{0}){0}".format(estring)
+            code += ",{0}){0}".format(estring)
 
         return code

eric ide

mercurial