aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2021-09-24 17:22:21 +0200
committerHenning Gründl <henning.gruendl@qt.io>2021-09-24 15:32:40 +0000
commitf1962d6201cc7eb72ef1dfa79e86db5c2d803ab7 (patch)
treec2e8ce0e5940028e300d611a2f04fcedaa5e2944
parent0db724eb2549874fc6d44382a49c10a8ca532c3b (diff)
QmlDesigner: Fix ButtonRow hover
Task-number: QDS-5134 Change-Id: I50fa43721d1eed8d5a81184bae24a8419d50911e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ButtonRow.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ButtonRow.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ButtonRow.qml
index 1b9c483c89..6348df0c58 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ButtonRow.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/ButtonRow.qml
@@ -48,6 +48,8 @@ Row {
// + StudioTheme.Values.border on width because of negative spacing on the row
width: actionIndicator.visible ? myButtonRow.__actionIndicatorWidth + StudioTheme.Values.border : 0
height: actionIndicator.visible ? myButtonRow.__actionIndicatorHeight : 0
+
+ onHoverChanged: myButtonRow.hoverCallback()
}
spacing: -StudioTheme.Values.border