Ignore:
Timestamp:
Jan 22, 2018, 11:00:53 AM (6 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r166 r169  
    700700procedure TFormMain.LoadConfig;
    701701begin
    702   RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey);
     702  RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey);
    703703  Core.PersistentForm1.RegistryContext := RegistryContext;
    704   RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');
     704  RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');
    705705  LastOpenedList1.LoadFromRegistry(RegistryContext);
    706706
     
    737737procedure TFormMain.SaveConfig;
    738738begin
    739   RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');
     739  RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');
    740740  LastOpenedList1.SaveToRegistry(RegistryContext);
    741741
Note: See TracChangeset for help on using the changeset viewer.