mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 23:19:29 +02:00
TradioGroup and TCheckGroup: fix error in r42772 #471ec807d9: reverse logic in calling UdateAll / UpdateInternalObjectList.
git-svn-id: trunk@42774 -
This commit is contained in:
parent
f0e13de7ac
commit
a6401dd4c3
@ -31,9 +31,9 @@ procedure TCheckGroupStringList.Changed;
|
||||
begin
|
||||
inherited Changed;
|
||||
if (UpdateCount = 0) then
|
||||
FCheckGroup.UpdateInternalObjectList
|
||||
FCheckGroup.UpdateAll
|
||||
else
|
||||
FCheckGroup.UpdateAll;
|
||||
FCheckGroup.UpdateInternalObjectList;
|
||||
end;
|
||||
|
||||
constructor TCheckGroupStringList.Create(TheCheckGroup: TCustomCheckGroup);
|
||||
|
@ -38,9 +38,9 @@ procedure TRadioGroupStringList.Changed;
|
||||
begin
|
||||
inherited Changed;
|
||||
if (UpdateCount = 0) then
|
||||
FRadioGroup.UpdateInternalObjectList
|
||||
FRadioGroup.UpdateAll
|
||||
else
|
||||
FRadioGroup.UpdateAll;
|
||||
FRadioGroup.UpdateInternalObjectList;
|
||||
end;
|
||||
|
||||
constructor TRadioGroupStringList.Create(TheRadioGroup: TCustomRadioGroup);
|
||||
|
Loading…
Reference in New Issue
Block a user