summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/GpsList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/GpsList.qml')
-rw-r--r--qt-mobile/qml/GpsList.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml
index 2c30ae171..322b2b1a6 100644
--- a/qt-mobile/qml/GpsList.qml
+++ b/qt-mobile/qml/GpsList.qml
@@ -14,6 +14,16 @@ MobileComponents.Page {
anchors.margins: MobileComponents.Units.gridUnit / 2
objectName: "gpsList"
+ contextualActions: [
+ Action {
+ text: "Close GPS list"
+ iconName: "dialog-cancel"
+ onTriggered: {
+ stackView.pop()
+ contextDrawer.close()
+ }
+ }
+ ]
Component {
id: gpsDelegate
MobileComponents.ListItemWithActions {