Fixed escape problem for "\n", et al.

This commit is contained in:
Ernie Pasveer
2024-05-03 15:08:37 -05:00
parent c9979d2f26
commit 4bb5cf2a14
3 changed files with 7 additions and 25 deletions
+2
View File
@@ -54,10 +54,12 @@ void SeerLogWidget::setLogEnabled (bool flag) {
void SeerLogWidget::moveToEnd () {
/* XXX
// Move to the end and then to the beginning of that line.
QTextCursor cursor = textEdit->textCursor();
textEdit->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
textEdit->moveCursor(QTextCursor::StartOfBlock, QTextCursor::MoveAnchor);
*/
textEdit->verticalScrollBar()->setValue(textEdit->verticalScrollBar()->maximum());
}