on xenial help sign in
Allow pulling manage dash if there's no favorite scopes
commit12d553c5f65e3323571700646d0f8fe55c676320 authorAlbert Astals <albert.astals@canonical.com> dateTue 9 Dec 2014, 17:15 (12 years ago) parent1c9e60f
1 file changed+2−3
qml/Dash/Dash.qml+2−3
qml/Dash/Dash.qml+2−3
@@ -304,7 +304,7 @@ Showable {
304304 Image {
305305 source: "graphics/overview_hint.png"
306306 anchors.horizontalCenter: parent.horizontalCenter
307− opacity: (scopeItem.scope ? scopeItem.pageHeaderTotallyVisible : dashContent.pageHeaderTotallyVisible) &&
307+ opacity: (scopeItem.scope ? scopeItem.pageHeaderTotallyVisible : scopes.count == 0 || dashContent.pageHeaderTotallyVisible) &&
308308 (overviewDragHandle.enabled || bottomEdgeController.progress != 0) ? 1 : 0
309309 Behavior on opacity {
310310 enabled: bottomEdgeController.progress == 0
@@ -324,8 +324,7 @@ Showable {
324324 z: 1
325325 direction: Direction.Upwards
326326 enabled: !dashContent.subPageShown &&
327− dashContent.currentScope &&
328− dashContent.currentScope.searchQuery == "" &&
327+ (scopes.count == 0 || (dashContent.currentScope && dashContent.currentScope.searchQuery == "")) &&
329328 !scopeItem.scope &&
330329 (bottomEdgeController.progress == 0 || dragging)
331330