diff options
Diffstat (limited to 'qt-mobile/qml/Preferences.qml')
-rw-r--r-- | qt-mobile/qml/Preferences.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-mobile/qml/Preferences.qml b/qt-mobile/qml/Preferences.qml index ff1fbdf27..dbff31027 100644 --- a/qt-mobile/qml/Preferences.qml +++ b/qt-mobile/qml/Preferences.qml @@ -7,6 +7,18 @@ import org.kde.plasma.mobilecomponents 0.2 as MobileComponents import org.subsurfacedivelog.mobile 1.0 MobileComponents.Page { + + contextualActions: [ + Action { + text: "Close Preferences" + iconName: "dialog-cancel" + onTriggered: { + stackView.pop() + contextDrawer.close() + } + } + ] + GridLayout { signal accept |