fix hiding of recent apps section when there's not app running
commitccb6b3367035ef31ab3452789030b8df15fcd55b
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 20 Mar 2014, 16:14 (13 years ago)
parent654f70b
qml/Dash/DashApps.qml+1−1
@@ -37,7 +37,7 @@ GenericScopeView {
3737
3838 property bool canEnableTerminationMode: scopeView.isCurrent
3939
40− model: ApplicationManager
40+ model: ApplicationManager.count > 0 ? ApplicationManager : dummyVisibilityModifier
4141 filterRole: 0
4242 filterRegExp: invertMatch ? (ApplicationManager.count === 0 ? RegExp("running-apps") : RegExp("")) : RegExp("disabled")
4343 invertMatch: scopeView.scope.searchQuery.length == 0