on xenial help sign in
Don't reset search string after 2 seconds
commite9b881c0b50f64bd60d88f6ecb89c1743d03c8da authorMichal Hruby <michal.mhr@gmail.com> dateTue 25 Mar 2014, 12:12 (13 years ago) parent05d4a33
1 file changed−9
qml/Dash/GenericScopeView.qml−9
qml/Dash/GenericScopeView.qml−9
@@ -38,11 +38,8 @@ FocusScope {
3838 property bool enableHeightBehaviorOnNextCreation: false
3939 property var categoryView: categoryView
4040
41− // FIXME delay the search so that daemons have time to settle, note that
42− // removing this will break ScopeView::test_changeScope
4341 onScopeChanged: {
4442 if (scope) {
45− timer.restart();
4643 scope.activateApplication.connect(activateApp);
4744 }
4845 }
@@ -57,12 +54,6 @@ FocusScope {
5754 value: isCurrent && !previewListView.open
5855 }
5956
60− Timer {
61− id: timer
62− interval: 2000
63− onTriggered: scope.searchQuery = ""
64− }
65−
6657 SortFilterProxyModel {
6758 id: categoryFilter
6859 model: scope ? scope.categories : null