Changeset 33


Ignore:
Timestamp:
Jun 29, 2024, 8:04:24 AM (5 months ago)
Author:
chronos
Message:
  • Fixed: Load main form settings before form translation.
Location:
trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r32 r33  
    6868  Preferences := TPreferences.Create;
    6969
     70  LoadConfig;
     71
    7072  TFormEx.ScaleDPI := ScaleDPI1;
    7173  TFormEx.Translator := Translator1;
     
    136138begin
    137139  for I := 0 to DbManager.DataTypes.Count - 1 do begin
    138     TDataType(DbManager.DataTypes[I]).Title := Translator1.TranslateText(TDataType(DbManager.DataTypes[I]).Title, TDataType(DbManager.DataTypes[I]).Title);
     140    DbManager.DataTypes[I].Title := Translator1.TranslateText(DbManager.DataTypes[I].Title, DbManager.DataTypes[I].Title);
    139141  end;
    140142end;
     
    197199    {$ENDIF}
    198200    Initialized := True;
    199     LoadConfig;
    200201    UpdateInterface;
    201202    if Preferences.RememberDatabase then begin
Note: See TracChangeset for help on using the changeset viewer.