cabana: fix coredump caused by getColor in updateSeries (#27265)

old-commit-hash: 99f12ca7f3
beeps
Dean Lee 2 years ago committed by GitHub
parent b94e06a6be
commit f01f51a22a
  1. 2
      tools/cabana/chartswidget.cc

@ -525,7 +525,7 @@ void ChartView::updateSeries(const Signal *sig, const std::vector<Event *> *even
s.vals.clear();
s.vals.reserve(settings.max_cached_minutes * 60 * 100); // [n]seconds * 100hz
s.last_value_mono_time = 0;
s.series->setColor(getColor(sig));
s.series->setColor(getColor(s.sig));
}
struct Chunk {

Loading…
Cancel
Save