Ignore:
Timestamp:
Jul 17, 2012, 10:14:41 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Show tab sheets of source code forms on file click in project manager.
  • Fixed: Compilation error message line calculation on Windows.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UFormMain.pas

    r61 r62  
    183183    with TProjectFile(Project.Files[0]) do begin
    184184      Compiler.SourceFiles.Files.Clear;
     185      Compiler.TargetFiles.Files.Clear;
    185186      Project.Files.DumpFileList(Compiler.SourceFiles.Files);
    186187      Compiler.MainSource := Project.MainSource.AbsoluteFileName;
     
    497498  Core.ProjectTemplatesInit;
    498499
    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
    500502    Core.ProjectOpen(Core.LastOpenedFiles.Items[0]);
    501   end;
    502503
    503504  WindowState := wsMaximized;
     
    513514procedure TFormMain.AProjectCloseExecute(Sender: TObject);
    514515begin
    515   //if Project.Modified then ;
     516  //if Project.Modified then ;  A
     517  FormSourceCode.ProjectFile := nil;
    516518  FreeAndNil(Core.Project);
     519  FormProject.UpdateProjectTree;
    517520  UpdateInterface;
    518521end;
Note: See TracChangeset for help on using the changeset viewer.