Verified Commit 9fd40623 authored by Jonah Brüchert's avatar Jonah Brüchert
Browse files

[HACK] Add workaround for viewing the source

parent 9645d487
......@@ -100,7 +100,7 @@ WebEngineView {
}
Controls.MenuItem {
text: i18n("View source")
onTriggered: webEngineView.triggerWebAction(WebEngineView.ViewSource)
onTriggered: newTab("view-source:" + webEngineView.url)
}
Controls.MenuItem {
text: i18n("Download")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment