QAbstractItemModel::dataChanged fires two times for single cell change
I am using QSqlTableModel + QTableView
Why does the QAbstractItemModel::dataChanged signal fires two times for single cell data change.
- first signal marks single cell changed
- second signal marks entire row
Code:
debug trace:
onTableDataChanged top.left.ndx(9,5) bottom.righ.ndx(9,5) rules.size=0
onTableDataChanged top.left.ndx(9,0) bottom.righ.ndx(9,10) rules.size=0
Re: QAbstractItemModel::dataChanged fires two times for single cell change
Looks like two different signal emits to me, so they might caused by different things.
Cheers,
_