Commit 2983bb29 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Colors KCM] Signal selectedSchemeIndexChanged when model reloads

When the model is reset, the view loses its current index (and it could have even
changed by items being added or removed).
Fixes the view losing index when editing the current scheme (calling setSelectedSchemeName
with the current scheme name noops)
parent b53d1a82
......@@ -182,6 +182,7 @@ void KCMColors::loadModel()
}
m_model->sort(0 /*column*/);
emit selectedSchemeIndexChanged();
}
void KCMColors::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