Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.2
-
None
-
Gentoo Linux (stable), kernel 2.6.34, Qt 4.6.2
Description
Using an instance of QSqlTableModel as model for QComboBox. the edit stratregy of the model is set to QSqlTableModel::OnManualSubmit.
Whenever a row is removed from the model without submitting the item is still displayed. This is as such not a problem, but it is not marked as deleted when displaying it.
So there is no chance to the user to see that this item has been removed (but not submitted).
Also a delegate can not detect this because there is no method in the model to ask whether the row in question have been marked as deleted. The same applies if you subclass the model.