Fixed inconsistency in settings group used for font settings

Might have been the cause of endless creations of "customized" color
schemes as seen by Roberto.
This commit is contained in:
Thorbjørn Lindeijer
2010-04-12 15:47:34 +02:00
parent f8a29ea465
commit 872a75efdf
+1 -1
View File
@@ -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);
}
}
}