diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-25 09:38:32 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-17 09:17:54 -0800 |
commit | 241d6105c0c8f1435b043c18eae6e517adfaa33c (patch) | |
tree | 36e76b41ea48c9dfbd364fbb178536458b7bbf1b /mobile-widgets | |
parent | 24bb4d76772e4142eca3ba01ed1902d9b56b1f10 (diff) | |
download | subsurface-241d6105c0c8f1435b043c18eae6e517adfaa33c.tar.gz |
mobile: fix implementation of menu back feature
With the updates to Kirigami I slightly modified the hack that we use to
implement that, as a result we call pop() directly on the globalDrawer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 751118928..1f9f167c8 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -271,7 +271,7 @@ Kirigami.ApplicationWindow { name: ":/go-previous-symbolic" } text: qsTr("Back") - onTriggered: globalDrawer.scrollViewItem.pop() + onTriggered: globalDrawer.pop() } Kirigami.Action { icon { @@ -380,7 +380,7 @@ if you have network connectivity and want to sync your data to cloud storage."), name: ":/go-previous-symbolic" } text: qsTr("Back") - onTriggered: globalDrawer.scrollViewItem.pop() + onTriggered: globalDrawer.pop() } Kirigami.Action { icon { @@ -453,7 +453,7 @@ if you have network connectivity and want to sync your data to cloud storage."), name: ":/go-previous-symbolic" } text: qsTr("Back") - onTriggered: globalDrawer.scrollViewItem.pop() + onTriggered: globalDrawer.pop() } Kirigami.Action { icon { @@ -511,7 +511,7 @@ if you have network connectivity and want to sync your data to cloud storage."), name: ":/go-previous-symbolic" } text: qsTr("Back") - onTriggered: globalDrawer.scrollViewItem.pop() + onTriggered: globalDrawer.pop() } Kirigami.Action { text: qsTr("App log") @@ -570,7 +570,7 @@ if you have network connectivity and want to sync your data to cloud storage."), name: ":/go-previous-symbolic" } text: qsTr("Back") - onTriggered: globalDrawer.scrollViewItem.pop() + onTriggered: globalDrawer.pop() } Kirigami.Action { text: qsTr("Setup") |