IDE: EditorOptions - Colors, fixes for "MappedAttributes". When checking for user-config, don't check cross-schemes.

This commit is contained in:
Martin 2024-01-11 00:03:37 +01:00
parent a96f739d8c
commit 9d4a82b1dc

View File

@ -6890,7 +6890,7 @@ begin
FAttributes.Sorted := true;
if (not FIsSchemeDefault) and (aPascalScheme <> nil) and (MappedAttributes <> nil) then begin
TmpPath := aPath + 'Lang' + StrToValidXMLName(FLanguageName) + '/';
TmpPath := aPath + 'Lang' + StrToValidXMLName(FLanguageName) + '/' + 'Scheme' + StrToValidXMLName(Name) + '/';
if not aXMLConfig.HasPath(TmpPath, False) then begin
for i := 0 to FAttributes.Count - 1 do begin
csa := TColorSchemeAttribute(FAttributes.Objects[i]);