summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/Log.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/Log.qml')
-rw-r--r--qt-mobile/qml/Log.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-mobile/qml/Log.qml b/qt-mobile/qml/Log.qml
index c6214f8e3..f77bf2fa9 100644
--- a/qt-mobile/qml/Log.qml
+++ b/qt-mobile/qml/Log.qml
@@ -37,4 +37,16 @@ MobileComponents.Page {
}
}
}
+ contextualActions: [
+ Action {
+ id: closeLog
+ text: "Close log"
+ iconName: "view-readermode"
+ onTriggered: {
+ stackView.pop()
+ contextDrawer.close()
+ }
+ }
+ ]
+
}