Hi,
I want to remove rows in a QTreeView. I do that with:
beginRemoveRows(parentIndex, row, erow);
// erase data in the branch
endRemoveRows();
This is working as long the row to remove is not selected. If it's selected I get a access violation.
It doesnt help moving the selected and current item to a neighboured one before removing.
Bookmarks