mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 03:49:26 +02:00
TAChart: Fix TChartListbox crashing sometimes when CheckStyle is cbsRadioButton.
git-svn-id: trunk@58608 -
This commit is contained in:
parent
9f5cf98a04
commit
2299402c54
@ -345,6 +345,9 @@ var
|
||||
begin
|
||||
if (FCheckStyle <> cbsRadioButton) or not (cloShowCheckboxes in Options) then
|
||||
exit;
|
||||
if FLegendItems = nil then
|
||||
exit;
|
||||
|
||||
FListener.OnNotify := nil;
|
||||
try
|
||||
for i := 0 to FLegendItems.Count - 1 do begin
|
||||
|
Loading…
Reference in New Issue
Block a user