fix thinking scroll

This commit is contained in:
fsylvain committed 2026-09-19 22:48:36 +02:00
1 parent 719e822f6f
commit 48c9456223
1 file changed
+1 -1
+1 -1
View File
@@ -698,12 +698,12 @@ class ChatWindow(QMainWindow):
italic_format.setFontItalic(True)
cursor.insertText(block["text"], italic_format)
block["expanded"] = expanded
self.chat_view.moveCursor(QTextCursor.MoveOperation.End)
def _collapse_open_thinking(self) -> None:
if self._stream_thinking_id is not None:
self._render_thinking(self._stream_thinking_id, expanded=False)
self._stream_thinking_id = None
self.chat_view.moveCursor(QTextCursor.MoveOperation.End)
def _on_chat_anchor_clicked(self, url: QUrl) -> None:
href = url.toString()