Skip to content

Don't emit dataChanged for invalid indices

Arjen Hiemstra requested to merge work/ahiemstra/datachanged into master

getQModelIndex can return an invalid index. If that happens, we emit dataChanged for an invalid index, which is incorrect and may cause errors in other models.

CCBUG: 431155

Merge request reports

Loading