diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-15 10:24:12 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-15 10:24:12 +0200 |
commit | f268fc6c679d319153881cb705d63f01012c3a17 (patch) | |
tree | 4adff99d807bb3c96d762dd0b7c29d5a586c2ee7 | |
parent | a5683c16c730b8596352c1a769302fd8d1e88d43 (diff) | |
download | kube-f268fc6c679d319153881cb705d63f01012c3a17.tar.gz kube-f268fc6c679d319153881cb705d63f01012c3a17.zip |
Move focus to the line edit after clicking the button
-rw-r--r-- | components/kube/contents/ui/AddresseeListEditor.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/kube/contents/ui/AddresseeListEditor.qml b/components/kube/contents/ui/AddresseeListEditor.qml index a4f1a207..edac5d4c 100644 --- a/components/kube/contents/ui/AddresseeListEditor.qml +++ b/components/kube/contents/ui/AddresseeListEditor.qml | |||
@@ -77,7 +77,10 @@ Item { | |||
77 | width: parent.width | 77 | width: parent.width |
78 | hoverEnabled: true | 78 | hoverEnabled: true |
79 | 79 | ||
80 | onClicked: lineEdit.visible = true | 80 | onClicked: { |
81 | lineEdit.visible = true | ||
82 | lineEdit.forceActiveFocus() | ||
83 | } | ||
81 | 84 | ||
82 | Kube.Label { | 85 | Kube.Label { |
83 | text: "Add recipient" | 86 | text: "Add recipient" |