Unsolved Inconsistency between model and view while removing a row from a table.
Ahti last edited by
This post is deleted!
JonB last edited by
Perhaps not relevant, but can't help noticing: your
removeRowsand its call to
beginRemoveRows()correctly allows for multiple rows, but your call to
response = model->removeRow(first, QModelIndex());only allows for one row. That's works for your
del_row(), but not in general. I don't suppose fixing that changes behaviour?