Changeset 38 for trunk/Forms/UMainForm.pas
- Timestamp:
- Apr 18, 2019, 3:34:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r36 r38 6 6 7 7 uses 8 Registry,XMLConf, Classes, SysUtils, FileUtil, Forms, Controls, Graphics,8 XMLConf, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, 9 9 Dialogs, ExtCtrls, ComCtrls, Menus, ActnList, UCore, UPlatform, Math, 10 10 DateUtils, GraphType, UPersistentForm, UApplicationInfo, UCoolTranslator, … … 78 78 79 79 uses 80 UMapForm, UNewGameForm , UDebugForm;80 UMapForm, UNewGameForm; 81 81 82 82 resourcestring … … 123 123 begin 124 124 if Assigned(Engine) then Engine.SaveConfig(XMLConfig1, ''); 125 ForceDirectories(ExtractFileDir(XMLConfig1.Filename)); 125 126 XMLConfig1.Flush; 126 127 end; … … 136 137 137 138 PersistentForm := TPersistentForm.Create(nil); 138 PersistentForm.RegistryContext := RegContext(HKEY(ApplicationInfo1.RegistryRoot),139 PersistentForm.RegistryContext := TRegistryContext.Create(ApplicationInfo1.RegistryRoot, 139 140 ApplicationInfo1.RegistryKey); 140 141
Note:
See TracChangeset
for help on using the changeset viewer.