diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index a7370094f93a16ee543da8d2b6e2006469a7956f..5a8e457768a9088a28b998473e869e3cca46a146 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -367,7 +367,7 @@ QWidget *FontSettingsPage::createPage(QWidget *parent) void FontSettingsPage::fontFamilySelected(const QString &family) { - d_ptr->m_value.setFamily(d_ptr->ui.familyComboBox->currentText()); + d_ptr->m_value.setFamily(family); d_ptr->ui.schemeEdit->setBaseFont(d_ptr->m_value.font()); updatePointSizes(); }