mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-23 20:46:20 +02:00
TAChart: TChartListbox: Do not enforce single active series without cloShowCheckboxes option
git-svn-id: trunk@31658 -
This commit is contained in:
parent
d8ce372351
commit
ad6ec6e704
@ -488,8 +488,10 @@ begin
|
||||
Populate;
|
||||
{ in case of radiobutton mode, it is necessary to uncheck the other
|
||||
series; there can be only one active series in this mode }
|
||||
if (FCheckStyle = cbsRadioButton) and (ASender is TBasicChartSeries) then
|
||||
begin
|
||||
if
|
||||
(CheckStyle = cbsRadioButton) and (cloShowCheckboxes in Options) and
|
||||
(ASender is TBasicChartSeries)
|
||||
then begin
|
||||
index := FindSeriesIndex(ASender as TCustomChartSeries);
|
||||
if index <> -1 then
|
||||
Checked[index] := (ASender as TCustomChartSeries).Active;
|
||||
|
Loading…
Reference in New Issue
Block a user