Skip to content

Commit ca54218

Browse files
committed
qt: fixed adding of log message in current cursor position
1 parent 766ce10 commit ca54218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qt/logger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ void Logger::logHandler(QtMsgType type, const QMessageLogContext &context ,
4848
}
4949
else
5050
{
51+
logTextEdit->moveCursor(QTextCursor::End);
5152
logTextEdit->insertPlainText(formatMsg);
5253

5354
logTextEdit->verticalScrollBar()->

0 commit comments

Comments
 (0)