Skip to content
Advertisement

Tag: qsortfilterproxymodel

QCombobox in a QDataWidgetMapper does not update model when using QSortFilterProxyModel on QSqlRelationalTableModel

I have a setup that uses a QTableView with a QSqlRelationalTableModel and a QDataWidgetMapper to edit the values of the active row in the table view: Everything works as expected when I set the QRelationalTableModel instance as the view’s model. But when I use the proxy model, as above, changes in comboboxes do not update the view. But they show

Advertisement