Actions
Bug #14054
closedWItemDelegate does not safely use (set)editState
Start date:
10/16/2025
Due date:
% Done:
100%
Estimated time:
Description
WItemDelegate does not check whether dynamic casts were successful in editState and setEditState, even though the editor could have been replaced by somebody overriding createEditor.
As with updateModelIndex, these two methods should do nothing in case a user forgot to implement them - instead of crashing the software.
I created a PR on github (https://github.com/emweb/wt/pull/234) to modify this behavior.
Updated by Romain Mardulyn about 2 months ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
- Target version set to 4.13.0
Updated by Romain Mardulyn about 1 month ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck about 1 month ago
- Assignee set to Matthias Van Ceulebroeck
Updated by Romain Mardulyn about 1 month ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Updated by Romain Mardulyn 28 days ago
- Status changed from Implemented @Emweb to Closed
Actions