tAutomatically focus the input field on search page - sailfish-safe - Sailfish frontend for safe(1)
HTML git clone git://git.z3bra.org/sailfish-safe.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 9468a04aa52d652a6e9aeb54271a48112412b03d
DIR parent cd6e46f97c1c3423a493ba314590b97b37abeed8
HTML Author: Renaud Casenave-Péré <renaud.casenave-pere@nerd.nintendo.com>
Date: Sun, 14 Feb 2021 20:35:17 +0100
Automatically focus the input field on search page
Diffstat:
M qml/pages/SearchPage.qml | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/qml/pages/SearchPage.qml b/qml/pages/SearchPage.qml
t@@ -34,6 +34,7 @@ Page {
width: parent.width
focus: true
onTextChanged: model.filter = text
+ Component.onCompleted: { forceActiveFocus(); }
}
delegate: PasswordDelegate {