Verified Commit 92ebb01a authored by Fushan Wen's avatar Fushan Wen
Browse files

applets/kickoff: Check `KCMShell.authorize` result for the configure button

parent 7d256adb
Pipeline #150521 passed with stage
in 4 minutes and 36 seconds
......@@ -84,6 +84,7 @@ ColumnLayout {
}
Button {
enabled: KQuickAddons.KCMShell.authorize("kcm_plasmasearch.desktop").length > 0
icon.name: "settings-configure"
text: i18nc("@action:button", "Configure Enabled Search Plugins…")
onClicked: KQuickAddons.KCMShell.openSystemSettings("kcm_plasmasearch")
......
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