Method deletion : remove deleted item from the list

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2014-06-18 10:30:26 +00:00
parent 816d45da0c
commit 6639a8ff16

View File

@ -151,6 +151,7 @@ begin
trvMethods.BeginUpdate();
try
node.Free();
(locObj.Parent as TPasClassType).Members.Extract(locObj);
locObj.Release();
finally
trvMethods.EndUpdate();