Commit 77cfc0dc authored by Kevin Ottens's avatar Kevin Ottens
Browse files

Disable the module if the setting is locked down

In this case we simply disable the whole module since it manages only a
single key really. We could go finer grained allowing to add/remove
themes, but it'd be pointless really (and also removal has a side
effect on the selected theme anyway).

Reviewers: #plasma, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 05ec6700
......@@ -33,7 +33,7 @@ KCM.GridViewKCM {
view.model: kcm.desktopThemeModel
view.currentIndex: kcm.pluginIndex(
enabled: !kcm.downloadingFile
enabled: !kcm.downloadingFile && !kcm.desktopThemeSettings.isImmutable("name")
DropArea {
anchors.fill: parent
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