Verified Commit 2f39e097 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Use triggered instead of checkedChanged for action

parent 25214d02
......@@ -245,7 +245,7 @@ Kirigami.ApplicationWindow {
text: i18n("Add to homescreen")
checkable: true
checked: DesktopFileGenerator.desktopFileExists(currentWebView.title)
onCheckedChanged: {
onTriggered: {
if (checked) {
DesktopFileGenerator.createDesktopFile(currentWebView.title,
currentWebView.url,
......
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