Unsolved Inconsistency between model and view while removing a row from a table.
-
This post is deleted! -
@Ahti
Perhaps not relevant, but can't help noticing: yourremoveRows
and 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?