diff --git a/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp b/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp index 94f2f8dc2bb..0430c2630f6 100644 --- a/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp +++ b/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp @@ -134,6 +134,7 @@ QWidget *ThemeSettingsItemDelegate::createEditor(QWidget *parent, const QStyleOp QMetaEnum e = Theme::staticMetaObject.enumerator(Theme::staticMetaObject.indexOfEnumerator("WidgetStyle")); for (int i = 0, total = e.keyCount(); i < total; ++i) cb->addItem(QLatin1String(e.key(i))); + cb->setCurrentIndex(model->m_widgetStyle); connect(cb, static_cast(&QComboBox::activated), this, [this, cb]() { ThemeSettingsItemDelegate *me = const_cast(this);