Scroll Application Output to end also for project explorer messages.

Task-number: QTCREATORBUG-1405
Reviewed-by: dt
This commit is contained in:
con
2010-07-06 14:32:53 +02:00
parent 05ba81b9c3
commit dec87b222b

View File

@@ -487,7 +487,10 @@ void OutputWindow::appendApplicationOutputInline(const QString &out, bool onStdE
void OutputWindow::appendMessage(const QString &out, bool isError)
{
setMaximumBlockCount(MaxBlockCount);
const bool atBottom = isScrollbarAtBottom();
m_formatter->appendMessage(doNewlineEnfocement(out), isError);
if (atBottom)
scrollToBottom();
enableUndoRedo();
}