Commit fa99dfb2 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Desktop Theme KCM] Emit current index change when resetting the model

When the model is reset, GridView invalidates its currentIndex resulting in no theme being selected.

Differential Revision:
parent de1c1c93
......@@ -244,6 +244,8 @@ void KCMDesktopTheme::load()
KConfigGroup cg(KSharedConfig::openConfig(QStringLiteral("plasmarc")), "Theme");
setSelectedPlugin(cg.readEntry("name", m_defaultTheme->themeName()));
emit selectedPluginIndexChanged();
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