Commit 5d2d3127 authored by con's avatar con
Browse files

Fix scrolling of compile output windwow yet again

Broke with 29b073e9

Reviewed-by: mae
parent 2ba557f8
......@@ -688,11 +688,7 @@ void OutputWindow::appendText(const QString &textIn, const QTextCharFormat &form
bool OutputWindow::isScrollbarAtBottom() const
{
return isVisible()
&& (blockBoundingRect(document()->lastBlock()).bottom()
+ contentOffset().y() <= viewport()->rect().bottom());
// return verticalScrollBar()->value() == verticalScrollBar()->maximum();
return verticalScrollBar()->value() == verticalScrollBar()->maximum();
}
void OutputWindow::clear()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment