Changeset 77
- Timestamp:
- Dec 27, 2016, 1:08:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r75 r77 49 49 UTargetInterpretter, UTargetFPC, UBFTarget, Forms, LazFileUtils; 50 50 51 const 52 RecentFilesRegKey = 'RecentFiles'; 51 53 52 54 { TCore } … … 100 102 Free; 101 103 end; 102 LastOpenedList.LoadFromRegistry(RegContext(Root, Key ));104 LastOpenedList.LoadFromRegistry(RegContext(Root, Key + '\' + RecentFilesRegKey)); 103 105 Targets.LoadFromRegistry(Root, Key); 104 106 PersistentForm1.RegistryContext := RegContext(Root, Key + '\Forms'); … … 108 110 begin 109 111 Targets.SaveToRegistry(Root, Key); 110 LastOpenedList.SaveToRegistry(RegContext(Root, Key ));112 LastOpenedList.SaveToRegistry(RegContext(Root, Key + '\' + RecentFilesRegKey)); 111 113 with TRegistryEx.Create do 112 114 try
Note:
See TracChangeset
for help on using the changeset viewer.