on xenial help sign in
only hide the searchfield if empty
1e88734Michael Zanetti
qml/Components/PageHeader.qml+1−1
@@ -90,7 +90,7 @@ Item {
90 onPressed: {
90 onPressed: {
91 if (headerContainer.popover) {
91 if (headerContainer.popover) {
92 PopupUtils.close(headerContainer.popover);
92 PopupUtils.close(headerContainer.popover);
93− } else {
93+ } else if (!searchTextField.text) {
94 headerContainer.showSearch = false;
94 headerContainer.showSearch = false;
95 }
95 }
96 }
96 }