diff --git a/src/graphitem.cpp b/src/graphitem.cpp index 0f576066..e8ed7b90 100644 --- a/src/graphitem.cpp +++ b/src/graphitem.cpp @@ -117,7 +117,7 @@ void GraphItem::emitSliderPositionChanged(qreal pos) { if (_type == Time) { if (_graph.hasTime()) { - if (pos <= _graph.last().t()) + if (pos >= _graph.first().t() && pos <= _graph.last().t()) emit sliderPositionChanged(distanceAtTime(pos)); else emit sliderPositionChanged(_graph.last().s() + 1);