on xenial help sign in
Only have scopes active when the app is focused
49dd0c4Pete Woods
qml/Dash/Dash.qml+1−1
@@ -178,7 +178,7 @@ Showable {
178 Binding {
178 Binding {
179 target: scopesList.scope
179 target: scopesList.scope
180 property: "isActive"
180 property: "isActive"
181− value: bottomEdgeController.progress === 1
181+ value: bottomEdgeController.progress === 1 && Qt.application.active
182 }
182 }
183
183
184 Connections {
184 Connections {
qml/Dash/GenericScopeView.qml+1−2
@@ -19,7 +19,6 @@ import Ubuntu.Components 1.1
19import Utils 0.1
19import Utils 0.1
20import Unity 0.2
20import Unity 0.2
21import Dash 0.1
21import Dash 0.1
22−import Powerd 0.1
23import "../Components"
22import "../Components"
24import "../Components/ListItems" as ListItems
23import "../Components/ListItems" as ListItems
25
24
@@ -105,7 +104,7 @@ FocusScope {
105 Binding {
104 Binding {
106 target: scope
105 target: scope
107 property: "isActive"
106 property: "isActive"
108− value: isCurrent && !subPageLoader.open && (Powerd.status === Powerd.On)
107+ value: isCurrent && !subPageLoader.open && Qt.application.active
109 }
108 }
110
109
111 UnitySortFilterProxyModel {
110 UnitySortFilterProxyModel {