Make sure termination mode is only available when Apps scope is current.
commit3059be904f730c98f0e4a09c9ab4221a78a2f538
authorMichał Sawicz <michal.sawicz@canonical.com>
dateTue 8 Oct 2013, 13:15 (13 years ago)
parentc657904
Dash/GenericScopeView.qml+1
@@ -97,6 +97,7 @@ ScopeView {
9797 // TODO: the running apps grid doesn't support standard scope results model yet
9898 item.firstModel = Qt.binding(function() { return results.firstModel })
9999 item.secondModel = Qt.binding(function() { return results.secondModel })
100+ item.canEnableTerminationMode = Qt.binding(function() { return scopeView.isCurrent })
100101 } else {
101102 item.model = Qt.binding(function() { return results })
102103 }