mirror of
https://github.com/KDE/kasts.git
synced 2025-01-11 16:13:56 +01:00
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…
Reference in New Issue
Block a user