mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-12 02:18:44 +02:00
Cocoa/ListView: fix the issue that multiple selections could not be retained when switching viewStyle
This commit is contained in:
parent
7f011e1f63
commit
e1be13f4b7
@ -1351,6 +1351,9 @@ begin
|
||||
if NOT Assigned(lclcb) then
|
||||
Exit;
|
||||
|
||||
if TCocoaListView(lclcb.Owner).initializing then
|
||||
Exit;
|
||||
|
||||
lclcb.selectionIndexSet.removeAllIndexes;
|
||||
_collectionView.reloadData();
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user