Commit c1d93f4a authored by mae's avatar mae
Browse files

Fix scroll to bottom - again...

parent a7530267
......@@ -116,8 +116,10 @@ void CompileOutputWindow::appendText(const QString &text, const QTextCharFormat
cursor.endEditBlock();
if (shouldScroll)
if (shouldScroll) {
m_textEdit->verticalScrollBar()->setValue(m_textEdit->verticalScrollBar()->maximum());
m_textEdit->setTextCursor(cursor);
}
}
void CompileOutputWindow::clearContents()
......
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