mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:19:31 +02:00
LCL: TListView update FSelectedIdx in multiselect mode too. issue #21389
git-svn-id: trunk@35614 -
This commit is contained in:
parent
3ee12b8bbf
commit
1e2b5b21f7
@ -356,8 +356,7 @@ begin
|
||||
Include(FFlags,lffSelectedValid);
|
||||
if OwnerData then
|
||||
begin
|
||||
if (MultiSelect and (FSelectedIdx = -1)) or not MultiSelect then
|
||||
FSelectedIdx:=nm^.iItem;
|
||||
FSelectedIdx:=nm^.iItem;
|
||||
end;
|
||||
//DebugLn('TCustomListView.CNNotify FSelected=',dbgs(FSelected));
|
||||
DoSelectItem(Item, True);
|
||||
|
Loading…
Reference in New Issue
Block a user