Skip to content

thread: fix get_last_msg_idx() crash when called with root index#129

Open
klement wants to merge 1 commit into
akissinger:masterfrom
klement:fix-get-last-msg-idx-none
Open

thread: fix get_last_msg_idx() crash when called with root index#129
klement wants to merge 1 commit into
akissinger:masterfrom
klement:fix-get-last-msg-idx-none

Conversation

@klement

@klement klement commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Handle the default QModelIndex (invalid/root) case by starting from
the last root node, instead of crashing on None.children.

Co-Authored-By: Claude Opus 4.6 [email protected]

Handle the default QModelIndex (invalid/root) case by starting from
the last root node, instead of crashing on None.children.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant