close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

Ignore:
Timestamp:
Nov 12, 2017, 1:47:20 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Do not create settings form on application start but just if form is opened.
  • Fixed: Removed various compilation warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormSettings.pas

    r104 r145  
    1616    ButtonOk: TButton;
    1717    ButtonCancel: TButton;
    18     CheckBox1: TCheckBox;
     18    CheckBoxAutoSaveTurn: TCheckBox;
    1919    CheckBox2: TCheckBox;
    2020    CheckBoxDevelMode: TCheckBox;
     
    6262begin
    6363  PageControl1.TabIndex := 0;
     64  Core.CoolTranslator1.TranslateComponentRecursive(Self);
    6465end;
    6566
     
    8384  SpinEditX.Value := Core.ScaleDPI1.DPI.X;
    8485  SpinEditY.Value := Core.ScaleDPI1.DPI.Y;
     86  CheckBoxAutoSaveTurn.Checked := Core.AutoSaveEnabled;
    8587end;
    8688
     
    9395  Core.ScaleDPI1.AutoDetect := CheckBox2.Checked;
    9496  Core.ScaleDPI1.DPI := Point(SpinEditX.Value, SpinEditY.Value);
     97  Core.AutoSaveEnabled := CheckBoxAutoSaveTurn.Checked;
    9598end;
    9699
Note: See TracChangeset for help on using the changeset viewer.