diff --git a/src/plugins/qmldesigner/components/designsystemview/collectionmodel.cpp b/src/plugins/qmldesigner/components/designsystemview/collectionmodel.cpp index c4935362b2c..b6013a53488 100644 --- a/src/plugins/qmldesigner/components/designsystemview/collectionmodel.cpp +++ b/src/plugins/qmldesigner/components/designsystemview/collectionmodel.cpp @@ -35,6 +35,10 @@ void CollectionModel::setActiveTheme(const QString &themeName) if (const auto themeId = m_collection->themeId(themeName.toLatin1())) { m_collection->setActiveTheme(*themeId); aboutToSave(); + + // Update the active status + if (rowCount() && columnCount()) + emit headerDataChanged(Qt::Horizontal, 0, columnCount() - 1); } }