on xenial help sign in
hide search when unfocusing it and its empty
2489183Michael Zanetti
qml/Components/PageHeader.qml+3
@@ -57,6 +57,9 @@ Item {
57
57
58 function unfocus() {
58 function unfocus() {
59 searchTextField.focus = false;
59 searchTextField.focus = false;
60+ if (!searchTextField.text) {
61+ headerContainer.showSearch = false;
62+ }
60 }
63 }
61
64
62 function openSearchHistory() {
65 function openSearchHistory() {