summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-15 10:24:12 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-15 10:24:12 +0200
commitf268fc6c679d319153881cb705d63f01012c3a17 (patch)
tree4adff99d807bb3c96d762dd0b7c29d5a586c2ee7
parenta5683c16c730b8596352c1a769302fd8d1e88d43 (diff)
downloadkube-f268fc6c679d319153881cb705d63f01012c3a17.tar.gz
kube-f268fc6c679d319153881cb705d63f01012c3a17.zip
Move focus to the line edit after clicking the button
-rw-r--r--components/kube/contents/ui/AddresseeListEditor.qml5
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"