Fix bug in scrolling of the main window
This commit is contained in:
parent
dc75c08081
commit
95e75741ed
@ -5324,6 +5324,7 @@ int MainWindow::logRxTxMessageText(QDateTime date, bool isFree, QString text, in
|
|||||||
|
|
||||||
c.movePosition(QTextCursor::End);
|
c.movePosition(QTextCursor::End);
|
||||||
ui->textEditRX->ensureCursorVisible();
|
ui->textEditRX->ensureCursorVisible();
|
||||||
|
ui->textEditRX->verticalScrollBar()->setValue(ui->textEditRX->verticalScrollBar()->maximum());
|
||||||
|
|
||||||
return c.blockNumber();
|
return c.blockNumber();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user