kopia lustrzana https://gitlab.com/eliggett/wfview
Better scrolling behavior. The log is now aware if you are not at the
bottom and will not force scroll if so. Otherwise, it will bring the horizontal scroll back to the left-edge.knobtest
rodzic
940f5fb961
commit
b849df9f7f
|
@ -57,7 +57,10 @@ void loggingWindow::acceptLogText(QString text)
|
|||
{
|
||||
QMutexLocker lock(&textMutex);
|
||||
ui->logTextDisplay->appendPlainText(text);
|
||||
horizLogScroll->setValue(horizLogScroll->minimum());
|
||||
if(vertLogScroll->value() == vertLogScroll->maximum())
|
||||
{
|
||||
horizLogScroll->setValue(horizLogScroll->minimum());
|
||||
}
|
||||
}
|
||||
|
||||
void loggingWindow::sendToTermbin()
|
||||
|
|
Ładowanie…
Reference in New Issue