forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user