Changeset 62 for trunk/IDE/Forms/UFormMain.pas
- Timestamp:
- Jul 17, 2012, 10:14:41 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UFormMain.pas
r61 r62 183 183 with TProjectFile(Project.Files[0]) do begin 184 184 Compiler.SourceFiles.Files.Clear; 185 Compiler.TargetFiles.Files.Clear; 185 186 Project.Files.DumpFileList(Compiler.SourceFiles.Files); 186 187 Compiler.MainSource := Project.MainSource.AbsoluteFileName; … … 497 498 Core.ProjectTemplatesInit; 498 499 499 if Core.ReopenLastOpenedFile and (Core.LastOpenedFiles.Items.Count > 0) then begin 500 if Core.ReopenLastOpenedFile and (Core.LastOpenedFiles.Items.Count > 0) then 501 if FileExistsUTF8(Core.LastOpenedFiles.Items[0]) then 500 502 Core.ProjectOpen(Core.LastOpenedFiles.Items[0]); 501 end;502 503 503 504 WindowState := wsMaximized; … … 513 514 procedure TFormMain.AProjectCloseExecute(Sender: TObject); 514 515 begin 515 //if Project.Modified then ; 516 //if Project.Modified then ; A 517 FormSourceCode.ProjectFile := nil; 516 518 FreeAndNil(Core.Project); 519 FormProject.UpdateProjectTree; 517 520 UpdateInterface; 518 521 end;
Note:
See TracChangeset
for help on using the changeset viewer.