QmlDesigner: Fix CheckBox global hover

Change-Id: I69bf92c189002bc507693cb388822c322ae94d3c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2021-09-02 16:08:49 +02:00
committed by Henning Gründl
parent e203581956
commit 30765917ea

View File

@@ -131,7 +131,7 @@ T.CheckBox {
},
State {
name: "globalHover"
when: actionIndicator.hover && myCheckBox.hover && !myCheckBox.pressed
when: actionIndicator.hover && !myCheckBox.pressed && myCheckBox.enabled
PropertyChanges {
target: checkBoxBackground
color: StudioTheme.Values.themeControlBackgroundGlobalHover