1
0
Fork 0

Move cursor after inserting message. Otherwise multi-line prints are off-screen until next print

This commit is contained in:
justin 2016-07-09 16:03:31 -06:00
parent c3f03b6675
commit b1edb1a44a
1 changed files with 1 additions and 1 deletions

View File

@ -78,8 +78,8 @@ void LogView::addMsgToLogSlot(QString msg)
return;
if(this->document()->characterCount() > 10000 * 100) //limit the log to ~100mb
this->clear();
this->moveCursor(QTextCursor::End);
this->insertPlainText(msg);
this->moveCursor(QTextCursor::End);
}
void LogView::clearLogSlot()