regression, project inspector, removina s single file was broken

This commit is contained in:
Basile Burg 2017-01-18 12:09:33 +01:00
parent 97d4355b5d
commit fc95a91d0d
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ var
i, j: integer;
begin
if not assigned(fProject) or (fProject.getFormat = pfDUB)
or Tree.Selected.isNil or (Tree.Selected.Parent = fFileNode) then
or Tree.Selected.isNil or (Tree.Selected.Parent <> fFileNode) then
exit;
proj := TCENativeProject(fProject.getProject);