OutputWindow: Reset "scroll to bottom" to default value

... on new build/app start.

Fixes: QTCREATORBUG-25605
Change-Id: I3f478db4c63cf0100c42342deedab9db5ba12042
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Christian Kandeler
2021-04-20 12:07:49 +02:00
parent c2e4f9f2a2
commit d9c1ee211a

View File

@@ -526,6 +526,7 @@ void OutputWindow::reset()
flush(); flush();
d->queueTimer.stop(); d->queueTimer.stop();
d->formatter.reset(); d->formatter.reset();
d->scrollToBottom = true;
if (!d->queuedOutput.isEmpty()) { if (!d->queuedOutput.isEmpty()) {
d->queuedOutput.clear(); d->queuedOutput.clear();
d->formatter.appendMessage(tr("[Discarding excessive amount of pending output.]\n"), d->formatter.appendMessage(tr("[Discarding excessive amount of pending output.]\n"),