Ignore:
Timestamp:
Oct 16, 2017, 2:31:46 PM (7 years ago)
Author:
chronos
Message:
  • Added: Option to disable auto reopen last file on start.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormSettings.pas

    r105 r151  
    1616    ButtonOk: TButton;
    1717    ButtonCancel: TButton;
     18    CheckBoxReopenLastFileOnStart: TCheckBox;
    1819    CheckBoxAutomaticDPI: TCheckBox;
    1920    CheckBoxStartMinimizedToTray: TCheckBox;
     
    8485  CheckBoxAutomaticDPI.Checked := Core.ScaleDPI1.AutoDetect;
    8586  SpinEditDPI.Value := Core.ScaleDPI1.DPI.X;
     87  CheckBoxReopenLastFileOnStart.Checked := Core.ReopenLastFileOnStart;
    8688  UpdateInterface;
    8789end;
     
    9496  Core.ScaleDPI1.AutoDetect := CheckBoxAutomaticDPI.Checked;
    9597  Core.ScaleDPI1.DPI := Point(SpinEditDPI.Value, SpinEditDPI.Value);
     98  Core.ReopenLastFileOnStart := CheckBoxReopenLastFileOnStart.Checked;
    9699end;
    97100
Note: See TracChangeset for help on using the changeset viewer.