This commit is contained in:
恍兮惚兮 2024-07-12 00:27:55 +08:00
parent f418c9beea
commit 88a3a1b3c0

View File

@ -168,7 +168,7 @@ class TextBrowser(QWidget, dataget):
def _setnextfont(self, font, cleared): def _setnextfont(self, font, cleared):
if cleared: if cleared:
self.textbrowser.setFont(font) self.textbrowser.setFont(font)
else:
self.textbrowser.moveCursor(QTextCursor.MoveOperation.End) self.textbrowser.moveCursor(QTextCursor.MoveOperation.End)
f = QTextCharFormat() f = QTextCharFormat()
f.setFont(font) f.setFont(font)