only hide the searchfield if empty
commit1e887341949739fb7faa0237addefe7a49bbe48f
authorMichael Zanetti <michael.zanetti@canonical.com>
dateFri 4 Jul 2014, 14:24 (12 years ago)
parent9f2e945
qml/Components/PageHeader.qml+1−1
@@ -90,7 +90,7 @@ Item {
9090 onPressed: {
9191 if (headerContainer.popover) {
9292 PopupUtils.close(headerContainer.popover);
93− } else {
93+ } else if (!searchTextField.text) {
9494 headerContainer.showSearch = false;
9595 }
9696 }