diff options
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index e3cf3393..eb280471 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml | |||
@@ -298,8 +298,13 @@ Controls2.ApplicationWindow { | |||
298 | 298 | ||
299 | Kube.TextField { | 299 | Kube.TextField { |
300 | id: searchField | 300 | id: searchField |
301 | focus: true | ||
301 | Layout.fillWidth: true | 302 | Layout.fillWidth: true |
302 | placeholderText: "Filter... (only applies to the mail list for now)" | 303 | placeholderText: "Filter... (only applies to the mail list for now)" |
304 | Keys.onReturnPressed: { | ||
305 | Kube.Fabric.postMessage(Kube.Messages.search, {"filterString": searchField.text}) | ||
306 | search.close() | ||
307 | } | ||
303 | } | 308 | } |
304 | 309 | ||
305 | Kube.Button { | 310 | Kube.Button { |