on xenial help sign in
Only have scopes active when the app is focused
commit49dd0c4a5c1326b70320b50584e8258426c52bfe authorPete Woods <pete.woods@canonical.com> dateWed 8 Apr 2015, 08:49 (12 years ago) parentf361947
2 files changed+2−3
qml/Dash/Dash.qml+1−1 qml/Dash/GenericScopeView.qml+1−2
qml/Dash/Dash.qml+1−1
@@ -178,7 +178,7 @@ Showable {
178178 Binding {
179179 target: scopesList.scope
180180 property: "isActive"
181− value: bottomEdgeController.progress === 1
181+ value: bottomEdgeController.progress === 1 && Qt.application.active
182182 }
183183
184184 Connections {
qml/Dash/GenericScopeView.qml+1−2
@@ -19,7 +19,6 @@ import Ubuntu.Components 1.1
1919import Utils 0.1
2020import Unity 0.2
2121import Dash 0.1
22−import Powerd 0.1
2322import "../Components"
2423import "../Components/ListItems" as ListItems
2524
@@ -105,7 +104,7 @@ FocusScope {
105104 Binding {
106105 target: scope
107106 property: "isActive"
108− value: isCurrent && !subPageLoader.open && (Powerd.status === Powerd.On)
107+ value: isCurrent && !subPageLoader.open && Qt.application.active
109108 }
110109
111110 UnitySortFilterProxyModel {