Commit 872a75ef authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

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.
parent f8a29ea4
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment