on xenial help sign in
hide search when unfocusing it and its empty
commit2489183c8c1dcbf20da94ab86983808edc4c5143 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 3 Jul 2014, 12:50 (12 years ago) parentd5f1dff
1 file changed+3
qml/Components/PageHeader.qml+3
qml/Components/PageHeader.qml+3
@@ -57,6 +57,9 @@ Item {
5757
5858 function unfocus() {
5959 searchTextField.focus = false;
60+ if (!searchTextField.text) {
61+ headerContainer.showSearch = false;
62+ }
6063 }
6164
6265 function openSearchHistory() {