eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py

branch
eric7
changeset 8415
c6236bed1b50
parent 8358
144a6b854f70
child 8881
54e42bc2437a
--- a/eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py	Wed Jun 09 17:13:01 2021 +0200
+++ b/eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py	Wed Jun 09 17:48:02 2021 +0200
@@ -159,7 +159,7 @@
                 '{0}QColorDialog.ColorDialogOption.ShowAlphaChannel'
                 .format(istring)
             )
-            code += '){0}'.format(estring)
+            code += '{0}){0}'.format(estring)
         elif self.rRGBA.isChecked():
             code += 'getColor({0}'.format(os.linesep)
             if not self.eRGB.text():
@@ -176,6 +176,6 @@
                 '{0}QColorDialog.ColorDialogOption.ShowAlphaChannel'
                 .format(istring)
             )
-            code += '){0}'.format(estring)
+            code += '{0}){0}'.format(estring)
         
         return code

eric ide

mercurial