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

desktoppackage: connect to `configurationChanged` signal

This allows changing the apply button status from a wallpaper plugin.
parent d03aa17c
Pipeline #184890 passed with stage
in 2 minutes and 56 seconds
......@@ -178,6 +178,11 @@ Item {
changedSignal.connect(appearanceRoot.configurationChanged)
}
}
const configurationChangedSignal = newItem.configurationChanged
if (configurationChangedSignal) {
configurationChangedSignal.connect(appearanceRoot.configurationChanged)
}
} else {
replace(emptyConfig)
}
......
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