on xenial help sign in
Use "proper" API for the PageHeader
67dc769Albert Astals
qml/Dash/ScopesOverview.qml+2−1
@@ -69,7 +69,8 @@ Item {
69 onProgressChanged: {
69 onProgressChanged: {
70 if (progress == 0) {
70 if (progress == 0) {
71 tabBar.currentTab = 0;
71 tabBar.currentTab = 0;
72− pageHeader.searchQuery = "";
72+ pageHeader.resetSearch();
73+ pageHeader.unfocus(); // Shouldn't the previous call do this too?
73 }
74 }
74 }
75 }
75
76