Add main action for open entry in browser
This commit is contained in:
parent
5fa40d89d9
commit
baf894c380
@ -42,5 +42,10 @@ Kirigami.ScrollablePage {
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
onWidthChanged: text = entry.adjustedContent(width, font.pixelSize)
|
||||
}
|
||||
|
||||
actions.main: Kirigami.Action {
|
||||
text: i18n("Open in Browser")
|
||||
icon.name: "globe"
|
||||
onTriggered: Qt.openUrlExternally(entry.link)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user