Commit 35c84cb5 authored by Kevin Ottens's avatar Kevin Ottens
Browse files

Force reevaluating state on pending deletion changes

Summary:
This was missing and thus the apply button wouldn't get enabled in case
of a pending deletion. This is due to this mechanism being outside of
the KConfigXT realm.

Reviewers: #plasma, bport, mart, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25076
parent 61cd3d4b
......@@ -115,6 +115,8 @@ void KCMDesktopTheme::setPendingDeletion(int index, bool pending)
const auto nonPending = m_model->match(idx, PendingDeletionRole, false);
m_settings->setName(nonPending.first().data(PluginNameRole).toString());
}
settingsChanged();
}
void KCMDesktopTheme::getNewStuff(QQuickItem *ctx)
......
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