Drop searchField on mhr3 and Saviq suggestion
commit86b0bbf9507a869af50a0b2b8dfa177c82ce5bd4
authorAlbert Astals <albert.astals@canonical.com>
dateMon 7 Oct 2013, 10:36 (13 years ago)
parentea9233f
Components/PageHeader.qml+2−2
@@ -206,13 +206,13 @@ Item {
206206 states: [
207207 State {
208208 name: "searching"
209− when: scope && scope.searchInProgress && searchField.text !== ""
209+ when: scope && scope.searchInProgress
210210 PropertyChanges { target: searchIndicator; running: true; opacity: 1 }
211211 PropertyChanges { target: primaryImage; opacity: 0 }
212212 },
213213 State {
214214 name: "idle"
215− when: !scope || !scope.searchInProgress || searchField.text === ""
215+ when: !scope || !scope.searchInProgress
216216 PropertyChanges { target: searchIndicator; opacity: 0 }
217217 PropertyChanges { target: primaryImage; opacity: 1 }
218218 }