diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ActionIndicator.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ActionIndicator.qml index 6e4f44ae73e..e261ebed677 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ActionIndicator.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ActionIndicator.qml @@ -60,7 +60,8 @@ Rectangle { State { name: "hovered" when: actionIndicator.hover && !actionIndicator.pressed - && !myControl.edit && !myControl.drag && myControl.enabled + && (!myControl || (!myControl.edit && !myControl.drag)) + && actionIndicator.enabled PropertyChanges { target: actionIndicatorIcon scale: 1.2 @@ -68,7 +69,7 @@ Rectangle { }, State { name: "disabled" - when: !myControl.enabled + when: !actionIndicator.enabled PropertyChanges { target: actionIndicatorIcon color: StudioTheme.Values.themeTextColorDisabled