mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 10:58:16 +02:00
LazControls: Tweak TTreeFilterEdit. Issue #40257.
This commit is contained in:
parent
c862941d4e
commit
34a99c8781
@ -484,7 +484,7 @@ begin
|
||||
if Assigned(fOnFilterNode) then
|
||||
Pass := fOnFilterNode(Node, Done);
|
||||
if not Done then
|
||||
Pass := Pass or DoFilterItem(Node.Text, Node.Data);
|
||||
Pass := {Pass or} DoFilterItem(Node.Text, Node.Data);
|
||||
if Pass and (fFirstPassedNode=Nil) then
|
||||
fFirstPassedNode:=Node;
|
||||
// Recursive call for child nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user