mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:29:37 +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
|
begin
|
||||||
inherited Changed;
|
inherited Changed;
|
||||||
if (UpdateCount = 0) then
|
if (UpdateCount = 0) then
|
||||||
FCheckGroup.UpdateInternalObjectList
|
FCheckGroup.UpdateAll
|
||||||
else
|
else
|
||||||
FCheckGroup.UpdateAll;
|
FCheckGroup.UpdateInternalObjectList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TCheckGroupStringList.Create(TheCheckGroup: TCustomCheckGroup);
|
constructor TCheckGroupStringList.Create(TheCheckGroup: TCustomCheckGroup);
|
||||||
|
@ -38,9 +38,9 @@ procedure TRadioGroupStringList.Changed;
|
|||||||
begin
|
begin
|
||||||
inherited Changed;
|
inherited Changed;
|
||||||
if (UpdateCount = 0) then
|
if (UpdateCount = 0) then
|
||||||
FRadioGroup.UpdateInternalObjectList
|
FRadioGroup.UpdateAll
|
||||||
else
|
else
|
||||||
FRadioGroup.UpdateAll;
|
FRadioGroup.UpdateInternalObjectList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TRadioGroupStringList.Create(TheRadioGroup: TCustomRadioGroup);
|
constructor TRadioGroupStringList.Create(TheRadioGroup: TCustomRadioGroup);
|
||||||
|
Loading…
Reference in New Issue
Block a user