Changeset 145 for trunk/UCore.pas
- Timestamp:
- Nov 12, 2017, 1:47:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r134 r145 357 357 procedure TCore.ASettingsExecute(Sender: TObject); 358 358 begin 359 FormSettings.Load; 360 if FormSettings.ShowModal = mrOk then begin 361 FormSettings.Save; 362 Game.SaveConfig(XMLConfig1, 'Game'); 359 FormSettings := TFormSettings.Create(nil); 360 try 361 FormSettings.Load; 362 if FormSettings.ShowModal = mrOk then begin 363 FormSettings.Save; 364 Game.SaveConfig(XMLConfig1, 'Game'); 365 end; 366 finally 367 FreeAndNil(FormSettings); 363 368 end; 364 369 end;
Note:
See TracChangeset
for help on using the changeset viewer.