on xenial help sign in
Make sure termination mode is only available when Apps scope is current.
3059be9Michał Sawicz
Dash/GenericScopeView.qml+1
@@ -97,6 +97,7 @@ ScopeView {
97 // TODO: the running apps grid doesn't support standard scope results model yet
97 // TODO: the running apps grid doesn't support standard scope results model yet
98 item.firstModel = Qt.binding(function() { return results.firstModel })
98 item.firstModel = Qt.binding(function() { return results.firstModel })
99 item.secondModel = Qt.binding(function() { return results.secondModel })
99 item.secondModel = Qt.binding(function() { return results.secondModel })
100+ item.canEnableTerminationMode = Qt.binding(function() { return scopeView.isCurrent })
100 } else {
101 } else {
101 item.model = Qt.binding(function() { return results })
102 item.model = Qt.binding(function() { return results })
102 }
103 }