on xenial help sign in
Only set scopes active when the screen is on
commit6c7ea57470cee0d01a5199726777b82066b64ffd authorPete Woods <pete.woods@canonical.com> dateMon 23 Feb 2015, 12:04 (12 years ago) parentf84db1b
1 file changed+2−1
qml/Dash/GenericScopeView.qml+2−1
qml/Dash/GenericScopeView.qml+2−1
@@ -19,6 +19,7 @@ import Ubuntu.Components 1.1
1919import Utils 0.1
2020import Unity 0.2
2121import Dash 0.1
22+import Powerd 0.1
2223import "../Components"
2324import "../Components/ListItems" as ListItems
2425
@@ -104,7 +105,7 @@ FocusScope {
104105 Binding {
105106 target: scope
106107 property: "isActive"
107− value: isCurrent && !subPageLoader.open
108+ value: isCurrent && !subPageLoader.open && (Powerd.status === Powerd.On)
108109 }
109110
110111 UnitySortFilterProxyModel {