From 90af339fcbbc8fc918254c9d46dd03fa7f2d7604 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 21 Jul 2017 06:24:21 +0200 Subject: People focus handling --- framework/qml/People.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/qml/People.qml b/framework/qml/People.qml index d0f7d252..bdb2cdf2 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml @@ -24,7 +24,7 @@ import QtQuick.Layouts 1.1 import org.kube.framework 1.0 as Kube -Item { +FocusScope { id: root property var currentContact @@ -56,6 +56,7 @@ Item { } Kube.TextField { id: searchBar + focus: true anchors.horizontalCenter: parent.horizontalCenter width: parent.width * 0.5 placeholderText: "Search..." @@ -98,7 +99,6 @@ Item { anchors.fill: parent - activeFocusOnTab: true ScrollBar.vertical: ScrollBar { } contentHeight: content.height clip: true -- cgit v1.2.3