--- a/eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py Mon May 17 19:58:15 2021 +0200 +++ b/eric7/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py Tue May 18 18:19:47 2021 +0200 @@ -80,8 +80,7 @@ QColor(self.sRed.value(), self.sGreen.value(), self.sBlue.value(), self.sAlpha.value()), None, self.eTitle.text(), - QColorDialog.ColorDialogOptions( - QColorDialog.ColorDialogOption.ShowAlphaChannel)) + QColorDialog.ColorDialogOption.ShowAlphaChannel) def on_eRGB_textChanged(self, text): """ @@ -157,8 +156,7 @@ code += '{0}self.tr("{1}"),{2}'.format( istring, self.eTitle.text(), os.linesep) code += ( - '{0}QColorDialog.ColorDialogOptions(' - 'QColorDialog.ColorDialogOption.ShowAlphaChannel)' + '{0}QColorDialog.ColorDialogOption.ShowAlphaChannel' .format(istring) ) code += '){0}'.format(estring) @@ -175,8 +173,7 @@ code += '{0}self.tr("{1}"),{2}'.format( istring, self.eTitle.text(), os.linesep) code += ( - '{0}QColorDialog.ColorDialogOptions(' - 'QColorDialog.ColorDialogOption.ShowAlphaChannel)' + '{0}QColorDialog.ColorDialogOption.ShowAlphaChannel' .format(istring) ) code += '){0}'.format(estring)