Project

General

Profile

Actions

Bug #14054

open

WItemDelegate does not safely use (set)editState

Added by Stephan Ehlers 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
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.

No data to display

Actions

Also available in: Atom PDF