Changeset 156 for trunk/Forms/FormMain.pas
- Timestamp:
- Aug 19, 2024, 8:35:07 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r155 r156 212 212 PageControlMain.TabIndex := 0; 213 213 try 214 if Core.Core.LastOpenedList.Items.Count = 0 then 215 Core.Core.LastOpenedList.Items.Add(CombinePaths(Core.Core.DataDir, ExamplesDir + DirectorySeparator + 'Sierpinski.b')); 216 214 217 if Core.Core.OpenProjectOnStart and (Core.Core.LastOpenedList.Items.Count > 0) and 215 218 FileExists(Core.Core.LastOpenedList.Items[0]) then … … 744 747 begin 745 748 if Core.Core.LastOpenedList.Items.Count > 0 then 746 FileName := Core.Core.LastOpenedList.Items[0] 747 else FileName := CombinePaths(Core.Core.DataDir, ExamplesDir); 749 FileName := Core.Core.LastOpenedList.Items[0]; 748 750 OpenDialog1.InitialDir := ExtractFileDir(FileName); 749 751 OpenDialog1.FileName := ExtractFileName(FileName);
Note:
See TracChangeset
for help on using the changeset viewer.