aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2020-08-06 15:51:54 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2020-08-06 14:29:51 +0000
commitd56d03e3227ebe5919c1c7f60de070e242aecd4d (patch)
tree28d71482548147490b56e6046f22ced42ccbb899 /share
parent52f971ce5edb6fe70e40ee7b6fc511e8d0bae093 (diff)
QmlDesigner: Don't highlight EditableListView items when not focused
Change-Id: I0897d57ad417f39fb72c6ce19c1349f8f6030c0b Fixes: QDS-2416 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/EditableListView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/EditableListView.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/EditableListView.qml
index e1d177fe07..c3344fcfe0 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/EditableListView.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/EditableListView.qml
@@ -104,6 +104,7 @@ Rectangle {
color: "transparent"
border.width: StudioTheme.Values.border
border.color: StudioTheme.Values.themeInteraction
+ visible: myColumn.currentItem ? myColumn.currentItem.focus : false
x: myColumn.currentItem ? myColumn.currentItem.x : 0
y: myColumn.currentItem ? myColumn.currentItem.y : 0
z: 10