mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 22:59:17 +02:00
IDE: editor options: use current formatversion as default
git-svn-id: trunk@49970 -
This commit is contained in:
parent
6afc2c033f
commit
ad9bc5f97c
@ -5215,7 +5215,7 @@ function TEditorOptions.ReadPascalColorScheme: String;
|
||||
var
|
||||
FormatVersion: Integer;
|
||||
begin
|
||||
FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', 0); // Should default be EditorOptsFormatVersion?
|
||||
FormatVersion := XMLConfig.GetValue('EditorOptions/Color/Version', EditorOptsFormatVersion);
|
||||
if FormatVersion > 1 then
|
||||
Result := XMLConfig.GetValue(
|
||||
'EditorOptions/Color/Lang' + StrToValidXMLName(
|
||||
|
Loading…
Reference in New Issue
Block a user