Ignore:
Timestamp:
May 15, 2018, 4:30:54 PM (6 years ago)
Author:
chronos
Message:
  • Added: Settings option to automatically reopen last saved game on application start.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormSettings.pas

    r145 r195  
    1616    ButtonOk: TButton;
    1717    ButtonCancel: TButton;
     18    CheckBoxReopenLastFile: TCheckBox;
    1819    CheckBoxAutoSaveTurn: TCheckBox;
    1920    CheckBox2: TCheckBox;
     
    8586  SpinEditY.Value := Core.ScaleDPI1.DPI.Y;
    8687  CheckBoxAutoSaveTurn.Checked := Core.AutoSaveEnabled;
     88  CheckBoxReopenLastFile.Checked := Core.ReopenLastFile;
    8789end;
    8890
     
    9698  Core.ScaleDPI1.DPI := Point(SpinEditX.Value, SpinEditY.Value);
    9799  Core.AutoSaveEnabled := CheckBoxAutoSaveTurn.Checked;
     100  Core.ReopenLastFile := CheckBoxReopenLastFile.Checked;
    98101end;
    99102
Note: See TracChangeset for help on using the changeset viewer.