mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 13:21:46 +02:00
LCL: TTreeView: clean up
git-svn-id: trunk@36752 -
This commit is contained in:
parent
dff0b6499a
commit
43f74e4964
@ -5611,8 +5611,7 @@ var
|
||||
ANode: TTreeNode;
|
||||
begin
|
||||
if tvoAllowMultiSelect in FOptions then begin
|
||||
ANode := FTreeNodes.FLastMultiSelected;
|
||||
Items.ClearMultiSelection(True); // Now clears all multi-selections
|
||||
Items.ClearMultiSelection(True); // Now clears all multi-selected
|
||||
end
|
||||
else begin
|
||||
ANode := Selected; // Clear a single selection only if not visible
|
||||
|
Loading…
Reference in New Issue
Block a user