mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 10:39:20 +02:00
LCL: TRadioGroup: when emitting OnClick set FLastClickedItemIndex to not trigger it again
git-svn-id: trunk@47046 -
This commit is contained in:
parent
a1553f8366
commit
63d6ed9d94
@ -420,6 +420,7 @@ begin
|
||||
begin
|
||||
if Assigned(FOnClick) then FOnClick(Self);
|
||||
if Assigned(FOnSelectionChanged) then FOnSelectionChanged(Self);
|
||||
FLastClickedItemIndex := FItemIndex;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user