From 406acc9517704c74ebd93da090430c4e25c2e4db Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Sun, 5 Nov 2023 16:41:01 +0800 Subject: [PATCH] Process events while rendering logs Signed-off-by: Loren Eteval --- Furious/Widget/LogViewer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Furious/Widget/LogViewer.py b/Furious/Widget/LogViewer.py index 8d7dcdb..3076e8f 100644 --- a/Furious/Widget/LogViewer.py +++ b/Furious/Widget/LogViewer.py @@ -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