IDE: project inspector: fixed opening files, bug #19543

git-svn-id: trunk@31181 -
This commit is contained in:
mattias 2011-06-12 06:58:42 +00:00
parent bce929a582
commit c8562d58ed

View File

@ -926,7 +926,7 @@ begin
Result:=nil;
if LazProject=nil then exit;
CurNode:=ItemsTreeView.Selected;
if (CurNode=nil) or (CurNode.Parent<>FFilesNode) then exit;
if (CurNode=nil) then exit;
//debugln(['TProjectInspectorForm.GetCurrentFile ',DbgSName(TObject(CurNode.Data)),' ',CurNode.Text]);
if TObject(CurNode.Data) is TProjInspFileItem then
begin