forked from qt-creator/qt-creator
Fix scroll to bottom - again...
This commit is contained in:
@@ -116,8 +116,10 @@ void CompileOutputWindow::appendText(const QString &text, const QTextCharFormat
|
|||||||
|
|
||||||
cursor.endEditBlock();
|
cursor.endEditBlock();
|
||||||
|
|
||||||
if (shouldScroll)
|
if (shouldScroll) {
|
||||||
|
m_textEdit->verticalScrollBar()->setValue(m_textEdit->verticalScrollBar()->maximum());
|
||||||
m_textEdit->setTextCursor(cursor);
|
m_textEdit->setTextCursor(cursor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CompileOutputWindow::clearContents()
|
void CompileOutputWindow::clearContents()
|
||||||
|
|||||||
Reference in New Issue
Block a user