mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 12:59:12 +02:00
Prevent "orphaned package" node to appear after resetting the filter.
This commit is contained in:
parent
2bbb2c67b4
commit
1d7296bf2c
@ -1067,11 +1067,14 @@ end;
|
||||
procedure TVisualTree.ResetFilter;
|
||||
var
|
||||
Node: PVirtualNode;
|
||||
Data: PData;
|
||||
begin
|
||||
Node := FVST.GetFirst;
|
||||
while Assigned(Node) do
|
||||
begin
|
||||
FVST.IsVisible[Node] := True;
|
||||
Data := FVST.GetNodeData(Node);
|
||||
if Data^.DataType <> 21 then
|
||||
FVST.IsVisible[Node] := True;
|
||||
Node := FVST.GetNext(Node);
|
||||
end;
|
||||
Node := FVST.GetFirst;
|
||||
|
Loading…
Reference in New Issue
Block a user