Add "Open externally" to media event context menu

This commit is contained in:
miruka
2020-07-21 01:06:31 -04:00
parent 3435dbc2f8
commit 48eac96976
3 changed files with 10 additions and 1 deletions

View File

@@ -170,6 +170,13 @@ HColumnLayout {
onTriggered: eventList.checkFromLastToHere(model.index)
}
HMenuItem {
icon.name: "open-externally"
text: qsTr("Open externally")
visible: Boolean(model.media_url)
onTriggered: eventList.openMediaExternally(model)
}
HMenuItem {
icon.name: "copy-local-path"
text: qsTr("Copy local path")