Ignore:
Timestamp:
Nov 10, 2010, 9:42:27 AM (14 years ago)
Author:
george
Message:
  • Added: Parsing type parameters.
  • Fixed: Saving edited files.
File:
1 edited

Legend:

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

    r23 r24  
    7777    NewNode.Expand(True);
    7878    EndUpdate;
    79     TreeViewProject.TopItem.Items[0].Selected := True;
     79    if Assigned(TreeViewProject.TopItem) and
     80      (TreeViewProject.TopItem.Count > 0) then
     81      TreeViewProject.TopItem.Items[0].Selected := True
     82      else CodeForm.ProjectFile := nil;
    8083  end;
    8184end;
Note: See TracChangeset for help on using the changeset viewer.