diff --git a/src/widgets/scrollbar.cpp b/src/widgets/scrollbar.cpp index 7f7fc7b53..9882c5fe4 100644 --- a/src/widgets/scrollbar.cpp +++ b/src/widgets/scrollbar.cpp @@ -82,7 +82,7 @@ void ScrollBar::scrollToBottom() bool ScrollBar::isAtBottom() const { - return ((this->getMaximum() - this->getLargeChange()) - this->getCurrentValue()) <= 1; + return ((this->getMaximum() - this->getLargeChange()) - this->getCurrentValue()) <= 0.00001; } void ScrollBar::setMaximum(qreal value)