Changeset 165 for trunk/Core.pas


Ignore:
Timestamp:
Jun 30, 2023, 11:34:35 PM (11 months ago)
Author:
chronos
Message:
  • Modified: Improved Core initialization.
  • Fixed: Not loaded last opened files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r164 r165  
    454454  RecentFileRegistryContext := TRegistryContext.Create(ApplicationInfo1.RegistryRoot,
    455455    ApplicationInfo1.RegistryKey + '\RecentFiles');
     456  LoadConfig;
    456457
    457458  TFormEx.ScaleDPI := ScaleDPI1;
     
    459460  TFormEx.ThemeManager := ThemeManager1;
    460461  TFormEx.PersistentForm := PersistentForm1;
    461 
    462   Initialize;
    463462
    464463  FormMain := TFormMain.Create(nil);
     
    697696  if not InitializeStarted then begin
    698697    InitializeStarted := True;
    699     LoadConfig;
    700698
    701699    FileNameOption := FindFirstNonOption;
Note: See TracChangeset for help on using the changeset viewer.