Skip to content

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

Open
klement wants to merge 1 commit intoakissinger: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 intoakissinger:masterfrom
klement:fix-get-last-msg-idx-none

Conversation

@klement
Copy link
Copy Markdown
Contributor

@klement klement commented Mar 17, 2026

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 noreply@anthropic.com

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 <noreply@anthropic.com>
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