From 85c602db435b23ff8dd4e237110cbe4508d16ac5 Mon Sep 17 00:00:00 2001 From: Jens Bache-Wiig <jens.bache-wiig@digia.com> Date: Wed, 3 Apr 2013 16:29:47 +0200 Subject: [PATCH] Improve focus behavior of TableView The ListView should get active focus on tab, and we need to set the focus to true so that it actually proxies the TableView focus correctly. Change-Id: I2091c7d4320c52acea75464a8d078232b6c8c29b Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com> --- src/controls/TableView.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index 7da97ef86..f08067792 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -247,6 +247,8 @@ ScrollView { ListView { id: listView + focus: true + activeFocusOnTab: true anchors.topMargin: tableHeader.height anchors.fill: parent -- GitLab