on xenial help sign in
make it a bit better, still broken tho :/
commitf341dc3c6db399754943386547a372272a793a07 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 25 Mar 2014, 15:54 (13 years ago) parent1e75492
1 file changed+4−2
qml/Dash/DashApps.qml+4−2
qml/Dash/DashApps.qml+4−2
@@ -26,13 +26,15 @@ GenericScopeView {
2626 id: scopeView
2727 objectName: "DashApps"
2828
29+ property var model: ApplicationManager
30+
2931 QtObject {
3032 id: countObject
31− property int count: scopeView.scope.searchQuery.length == 0 ? (ApplicationManager.count) : 0
33+ property int count: scopeView.scope.searchQuery.length == 0 ? scopeView.model.count : 0
3234 }
3335
3436 onScopeChanged: {
3537 scopeView.scope.categories.addSpecialCategory("running.apps.category", "Recent", "", "{ \"template\": { \"category-layout\": \"running-apps\" } }", countObject);
36− enableHeightBehaviorOnNextCreation = ApplicationManager.count === 0
38+ enableHeightBehaviorOnNextCreation = scopeView.model.count === 0
3739 }
3840}