TreeFilterEdit: release also the idle handler when releasing the filtered TreeView

git-svn-id: trunk@35227 -
This commit is contained in:
juha 2012-02-07 19:28:16 +00:00
parent 1829efd0bd
commit 9ec8da7c35

View File

@ -382,6 +382,8 @@ begin
inherited Notification(AComponent, Operation);
if (Operation=opRemove) and (FilteredTreeview=AComponent) then
begin
IdleConnected:=False;
fNeedUpdate:=False;
fFilteredTreeview.RemoveHandlerOnBeforeDestruction(@OnBeforeTreeDestroy);
fFilteredTreeview:=nil;
FreeAndNil(fBranches);