Verified Commit 4974e00c authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

desktoppackage: fix apply button not working in config dialog

After async loading is used, the signal bindings need be moved to
onLoaded section.
parent a26f7786
Pipeline #194018 passed with stage
in 7 minutes and 32 seconds
......@@ -54,6 +54,10 @@ Kirigami.ScrollablePage {
}
setSource(configItem.source, props)
}
onLoaded: {
const plasmoidConfig = plasmoid.configuration;
for (let key in plasmoidConfig) {
const changedSignal = item["cfg_" + key + "Changed"]
......
Supports Markdown
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