From 98b83cf51a82fd1e136146f2f74e65ff8f77ee19 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 12 Feb 2019 20:25:20 -0800 Subject: [PATCH] Fixing back buttons --- qml/panes/GroupSettingsPane.qml | 1 + qml/panes/OverlayPane.qml | 1 + qml/widgets/StackToolbar.qml | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/panes/GroupSettingsPane.qml b/qml/panes/GroupSettingsPane.qml index 56b0d97..38cd15d 100644 --- a/qml/panes/GroupSettingsPane.qml +++ b/qml/panes/GroupSettingsPane.qml @@ -17,6 +17,7 @@ ColumnLayout { // groupSettingsPane StackToolbar { id: toolbar aux.visible: false + back.onClicked: theStack.pane = theStack.messagePane } Column { diff --git a/qml/panes/OverlayPane.qml b/qml/panes/OverlayPane.qml index 0d9a5a1..f9836df 100644 --- a/qml/panes/OverlayPane.qml +++ b/qml/panes/OverlayPane.qml @@ -25,6 +25,7 @@ ColumnLayout { gcd.requestPeerSettings() } } + back.visible: false } RowLayout { diff --git a/qml/widgets/StackToolbar.qml b/qml/widgets/StackToolbar.qml index b7e94d2..df8a1ea 100644 --- a/qml/widgets/StackToolbar.qml +++ b/qml/widgets/StackToolbar.qml @@ -28,8 +28,6 @@ Rectangle { // OVERHEAD BAR ON STACK PANE anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter anchors.leftMargin: 6 - visible: ratio >= 1.08 || windowItem.width < 500 - onClicked: theStack.pane = theStack.emptyPane }