Verified Commit 67c001cc authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

WebView: Make sure to save user agent settings for the currect tab

parent fff36538
......@@ -45,7 +45,7 @@ WebEngineView {
UserAgentGenerator {
id: userAgent
isMobile: Kirigami.Settings.isMobile
onUserAgentChanged: tabs.tabsModel.setTab(tabs.tabsModel.currentTab, webEngineView.url, isMobile)
onUserAgentChanged: tabs.tabsModel.setTab(index, webEngineView.url, isMobile)
}
Image {
......
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