diff --git a/src/graphview.cpp b/src/graphview.cpp index 4792ac99..1cd4ab78 100644 --- a/src/graphview.cpp +++ b/src/graphview.cpp @@ -305,7 +305,7 @@ void GraphView::updateSliderInfo() { _sliderInfo->setVisible(_graphs.size() == 1); - if (!_slider->isVisible()) + if (!_sliderInfo->isVisible()) return; const QPainterPath &path = _graphs.at(0)->path();