Ensure both overloaded SelectNode procs do the same with the desired node.

This commit is contained in:
Ansgar Becker
2010-03-08 23:23:37 +00:00
parent d35815de77
commit 7bb3cfdfb5

View File

@@ -2695,10 +2695,9 @@ begin
Node := VT.GetFirst;
while Assigned(Node) do begin
if Node.Index = idx then begin
VT.FocusedNode := Node;
VT.Selected[Node] := True;
end else
VT.Selected[Node] := False;
SelectNode(VT, Node);
break;
end;
Node := VT.GetNextSibling(Node);
end;
end;