Use "proper" API for the PageHeader
commit67dc769292ecb25b76b221794544f21de7716dc3
authorAlbert Astals <albert.astals@canonical.com>
dateThu 17 Jul 2014, 12:40 (12 years ago)
parent770ffe6
qml/Dash/ScopesOverview.qml+2−1
@@ -69,7 +69,8 @@ Item {
6969 onProgressChanged: {
7070 if (progress == 0) {
7171 tabBar.currentTab = 0;
72− pageHeader.searchQuery = "";
72+ pageHeader.resetSearch();
73+ pageHeader.unfocus(); // Shouldn't the previous call do this too?
7374 }
7475 }
7576