mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 05:49:47 +01:00
TreeFilterEdit: release also the idle handler when releasing the filtered TreeView
git-svn-id: trunk@35227 -
This commit is contained in:
parent
1829efd0bd
commit
9ec8da7c35
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user