eric6/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py

changeset 7258
aff39db4dacc
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py	Sat Sep 21 22:03:03 2019 +0200
+++ b/eric6/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py	Mon Sep 23 19:10:42 2019 +0200
@@ -155,8 +155,10 @@
             code += '{0}{1},{2}'.format(istring, parent, os.linesep)
             code += '{0}self.tr("{1}"),{2}'.format(
                 istring, self.eTitle.text(), os.linesep)
-            code += '{0}QColorDialog.ColorDialogOptions(' \
+            code += (
+                '{0}QColorDialog.ColorDialogOptions('
                 'QColorDialog.ShowAlphaChannel)'.format(istring)
+            )
             code += '){0}'.format(estring)
         elif self.rRGBA.isChecked():
             code += 'getColor({0}'.format(os.linesep)
@@ -170,8 +172,10 @@
             code += '{0}{1},{2}'.format(istring, parent, os.linesep)
             code += '{0}self.tr("{1}"),{2}'.format(
                 istring, self.eTitle.text(), os.linesep)
-            code += '{0}QColorDialog.ColorDialogOptions(' \
+            code += (
+                '{0}QColorDialog.ColorDialogOptions('
                 'QColorDialog.ShowAlphaChannel)'.format(istring)
+            )
             code += '){0}'.format(estring)
         
         return code

eric ide

mercurial