Skip to content

Add safeguards to avoid crashes#234

Open
tcld wants to merge 1 commit intoemweb:masterfrom
tcld:add_safeguards_to_delegate
Open

Add safeguards to avoid crashes#234
tcld wants to merge 1 commit intoemweb:masterfrom
tcld:add_safeguards_to_delegate

Conversation

@tcld
Copy link

@tcld tcld commented Oct 16, 2025

When custom delegate derive from WItemDelegate and override createEditor, but neither of the two *editState methods, these can lead to hard crashes.
Like with updateModelIndex, now the methods check whether their cast pointers actually exist.

When custom delegate derive from WItemDelegate and override
createEditor, but neither of the two *editState methods, these can lead
to hard crashes.
Like with updateModelIndex, now the methods check whether their cast
pointers actually exist.
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