diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp
index 63dd9292cc878a9e8e3a533cb50ef888baab2c90..b8a7cfd8dcd0fe625845649e202183c61baca470 100644
--- a/src/plugins/texteditor/fontsettingspage.cpp
+++ b/src/plugins/texteditor/fontsettingspage.cpp
@@ -218,7 +218,7 @@ FontSettingsPagePrivate::FontSettingsPagePrivate(const TextEditor::FormatDescrip
             QString schemeFileName = createColorSchemeFileName(QLatin1String("customized%1.xml"));
             if (!schemeFileName.isEmpty()) {
                 if (m_value.saveColorScheme(schemeFileName) && settings)
-                    m_value.toSettings(m_category, settings);
+                    m_value.toSettings(m_settingsGroup, settings);
             }
         }
     }