Hello

I have a QSqlRelationalTableModel which is viewed using a QTableView and QSqlRelationalDelegate to give comboboxes for foreign key fields.

My question is how do I handle nullable foreign keys? If foreign key is null it is not being displayed in the QTableView and there seems to be no way of having a null value in a combo box.

Thanks in advance