Add 'APP().processEvents()' in LogViewer.py

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-11-05 16:41:01 +08:00
parent 35c75ab3c5
commit e33f2f8883
+2
View File
@@ -286,6 +286,8 @@ class LogViewerWidget(MainWindow):
else:
textBrowser.append(line)
APP().processEvents()
if scrollEnds:
vScrollBar.setValue(vScrollBar.maximum()) # Scrolls to the bottom
hScrollBar.setValue(0) # scroll to the left