diff -r 90939b08da20 -r 8b75b1668583 eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py --- a/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Mon Jun 20 13:25:14 2022 +0200 +++ b/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Mon Jun 20 19:47:39 2022 +0200 @@ -101,12 +101,12 @@ else: opt2.state |= QStyle.StateFlag.State_Off styleCheckBoxRect = style.subElementRect( - QStyle.SubElement.SE_ViewItemCheckIndicator, opt2, widget) + QStyle.SubElement.SE_CheckBoxIndicator, opt2, widget) opt2.rect = QRect( leftPos, checkBoxYPos, styleCheckBoxRect.width(), styleCheckBoxRect.height()) style.drawPrimitive( - QStyle.PrimitiveElement.PE_IndicatorViewItemCheck, opt2, painter, + QStyle.PrimitiveElement.PE_IndicatorCheckBox, opt2, painter, widget) leftPos = opt2.rect.right() + self.__padding