Fix scroll to bottom - again...

This commit is contained in:
mae
2010-07-12 10:13:08 +02:00
parent a753026779
commit c1d93f4a45

View File

@@ -116,9 +116,11 @@ 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()
{