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/UFormProject.pas

    r61 r62  
    125125procedure TFormProject.AShowExecute(Sender: TObject);
    126126begin
    127   if Assigned(TreeViewProject.Selected) then
    128   FormSourceCode.SynEditSource.Lines.Assign(TProjectFile(TreeViewProject.Selected.Data).Source);
     127  if Assigned(TreeViewProject.Selected) then begin
     128    FormMain.TabSheetSource.Show;
     129    FormSourceCode.ProjectFile := TProjectFile(TreeViewProject.Selected.Data);
     130  end;
    129131end;
    130132
Note: See TracChangeset for help on using the changeset viewer.