Hi,

I have a SQLite database with 4 tables in it. Table 2,3 and 4 are referenred to table 1 by foreign keys. My UI is made of four QTableViews with a QSqlRelationalTableMode in each of them.
I use ItemDelegates to display only valid entries in table one, but if I change on of the foreign keys in table 2 - 4, the ItemDelegateComboxBoxes won´t be updated.

Is there any way to update the ComboxBoxes or update the entire model, when I switch between my Table Views?

Thanks in advance.

Micha