From a91d4164b4e64fcf02dc32c1e3379b3cc15af307 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 12 Feb 2016 22:26:47 -0800 Subject: QML UI: remove the redundant context menus that just close the page Android users are well used to using the back key for this. I kept the code in place as things may end up completely different on IOS or other mobile platforms. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-mobile/qml/DiveDetails.qml') diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 3f637784e..5a39576e8 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -52,7 +52,7 @@ MobileComponents.Page { state = "view" Qt.inputMethod.hide() } - +/* this can be done by hitting the back key contextualActions: [ Action { text: state === "view" ? "Back to dive list" : "Cancel" @@ -71,7 +71,7 @@ MobileComponents.Page { } } ] - + */ mainAction: Action { iconName: state !== "view" ? "dialog-cancel" : "document-edit" onTriggered: { -- cgit v1.2.3-70-g09d2