aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml')
-rw-r--r--examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml b/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
index 88c362495a..8f9d022971 100644
--- a/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
+++ b/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
@@ -68,7 +68,7 @@ Item {
hoverEnabled: true
onClicked: {
- ListView.view.currentIndex = index
+ container.ListView.view.currentIndex = index
container.forceActiveFocus()
}
}