Qt 6.11 is out! See what's new in the release
blog
Inconsistency between model and view while removing a row from a table.
-
@Ahti
Perhaps not relevant, but can't help noticing: yourremoveRowsand its call tobeginRemoveRows()correctly allows for multiple rows, but your call toresponse = model->removeRow(first, QModelIndex());only allows for one row. That's works for yourdel_row(), but not in general. I don't suppose fixing that changes behaviour?