diff --git a/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp b/src/plugins/coreplugin/themeeditor/themesettingsitemdelegate.cpp index 94f2f8dc2bbd2607f7d0eac8b4657fbad3afbd08..0430c2630f6d22819ff9bbce5dc8a578fc528806 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<void (QComboBox::*)(int)>(&QComboBox::activated), this, [this, cb]() { ThemeSettingsItemDelegate *me = const_cast<ThemeSettingsItemDelegate *>(this);