on xenial help sign in
fix hiding of recent apps section when there's not app running
ccb6b33Michael Zanetti
qml/Dash/DashApps.qml+1−1
@@ -37,7 +37,7 @@ GenericScopeView {
37
37
38 property bool canEnableTerminationMode: scopeView.isCurrent
38 property bool canEnableTerminationMode: scopeView.isCurrent
39
39
40− model: ApplicationManager
40+ model: ApplicationManager.count > 0 ? ApplicationManager : dummyVisibilityModifier
41 filterRole: 0
41 filterRole: 0
42 filterRegExp: invertMatch ? (ApplicationManager.count === 0 ? RegExp("running-apps") : RegExp("")) : RegExp("disabled")
42 filterRegExp: invertMatch ? (ApplicationManager.count === 0 ? RegExp("running-apps") : RegExp("")) : RegExp("disabled")
43 invertMatch: scopeView.scope.searchQuery.length == 0
43 invertMatch: scopeView.scope.searchQuery.length == 0