Changeset 282 for trunk/Start.pas
- Timestamp:
- Sep 30, 2020, 11:38:14 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r261 r282 545 545 FormerGames := TStringList.Create; 546 546 UpdateFormerGames; 547 ShowTab := tbNew; // always start with new book page548 547 MapFileName := ''; 549 548 Maps := TStringList.Create; … … 625 624 if ValueExists('AutoDiff') then AutoDiff := Reg.ReadInteger('AutoDiff') 626 625 else AutoDiff := 1; 626 if ValueExists('StartTab') then ShowTab := TStartTab(Reg.ReadInteger('StartTab')) 627 else ShowTab := tbNew; 627 628 628 629 if ValueExists('ScreenMode') then … … 665 666 else WriteInteger('ScreenMode', 0); 666 667 WriteInteger('MultiControl', MultiControl); 668 WriteInteger('StartTab', Integer(ShowTab)); 667 669 finally 668 670 Free; … … 1454 1456 FindClose(F); 1455 1457 ListIndex[tbNew] := FormerGames.Count - 1; 1456 if (ShowTab = tbNew) and (FormerGames.Count > 0) then1457 ShowTab := tbPrevious;1458 1458 TurnValid := False; 1459 1459 end;
Note:
See TracChangeset
for help on using the changeset viewer.