As per design entering edit mode clears the possible existing search
commit81a3e3b271fdc5aefb5bfbcdf4a7c7167eec173c
authorAlbert Astals <albert.astals@canonical.com>
dateMon 22 Sep 2014, 18:04 (12 years ago)
parentcf3695c
qml/Dash/ScopesList.qml+7
@@ -33,6 +33,13 @@ Item {
3333
3434 state: "browse"
3535
36+ onStateChanged: {
37+ if (state == "edit") {
38+ // As per design entering edit mode clears the possible existing search
39+ header.resetSearch(false /* false == unfocus */);
40+ }
41+ }
42+
3643 ScopeStyle {
3744 id: scopeStyle
3845 style: { "foreground-color" : "gray",