Changeset 333 for trunk/Forms


Ignore:
Timestamp:
Aug 27, 2024, 4:13:10 PM (3 months ago)
Author:
chronos
Message:
  • Fixed: Store client form settings on close.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormClient.pas

    r318 r333  
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
    77  Game, LCLType, Menus, ActnList, ComCtrls, dateutils, XMLConf, DOM, Math,
    8   Geometry, GameClient, GameProtocol, Threading, Player, ClientGUI,
    9   FormEx, Generics.Collections;
     8  Geometry, GameClient, GameProtocol, Threading, Player, ClientGUI, FormEx,
     9  Generics.Collections;
    1010
    1111const
  • trunk/Forms/FormMain.pas

    r331 r333  
    249249begin
    250250  Core.Core.Game.Running := False;
     251  FormClient.Close;
    251252  SaveConfig(Core.Core.XMLConfig1, 'FormMain');
    252253  Core.Core.CellGridVisible := AMapGridVisible.Checked;
Note: See TracChangeset for help on using the changeset viewer.