LazControls: Filter data by TreeFilterEdit also when the TreeView is switched. By n7800.

(cherry picked from commit 7f000a6970)
This commit is contained in:
Juha 2024-03-29 16:50:25 +02:00 committed by Maxim Ganetsky
parent 9092a2cfc0
commit 54f9d96c35

View File

@ -455,7 +455,7 @@ begin
fFilteredTreeview := AValue;
if fFilteredTreeview <> nil then
begin
InternalSetFilter(Text);
InvalidateFilter;
fFilteredTreeview.FreeNotification(Self);
fFilteredTreeview.AddHandlerOnBeforeDestruction(@OnBeforeTreeDestroy);
end;