Changeset 184 for trunk/Forms/FormMain.pas
- Timestamp:
- Jan 14, 2025, 11:19:27 AM (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r175 r184 206 206 SFileNotFound = 'File %s not found.'; 207 207 208 const209 ExamplesDir = 'Examples';210 211 208 { TFormMain } 212 209 … … 217 214 try 218 215 if Core.Core.LastOpenedList.Items.Count = 0 then 219 Core.Core.LastOpenedList.Items.Add(Co mbinePaths(Core.Core.DataDir,ExamplesDir +220 DirectorySeparator + 'Sierpinski.b'));216 Core.Core.LastOpenedList.Items.Add(Core.Core.ExamplesDir + 217 DirectorySeparator + 'Sierpinski.b'); 221 218 222 219 if Core.Core.OpenProjectOnStart and (Core.Core.LastOpenedList.Items.Count > 0) and … … 751 748 AProjectClose.Execute; 752 749 if Core.Core.Project.Openned then Exit; 753 Core.Core.Project.FileName := CombinePaths(Core.Core.DataDir, ExamplesDir + DirectorySeparator + SNewProject + '.b'); 750 Core.Core.Project.FileName := SNewProject + '.b'; 751 Core.Core.Project.Openned := True; 754 752 FormSourceCode.SynEditSource.Clear; 755 Core.Core.Project.Openned := True;756 753 Core.Core.CurrentTarget.Compiled := False; 757 754 UpdateInterface;
Note:
See TracChangeset
for help on using the changeset viewer.