Fixed crash in non-stack bar chart view when hide selected point.

This commit is contained in:
23rd 2024-03-15 17:08:17 +03:00
parent 77dc234b2d
commit a1a415de82
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ void BarChartView::paintSelectedXIndex(
if (_isStack) {
BarChartView::paintChartAndSelected(p, c);
} else {
} else if (selectedXIndex >= 0) {
const auto linesFilter = linesFilterController();
auto hq = PainterHighQualityEnabler(p);
auto o = ScopedPainterOpacity(p, progress);