Re: [Interest] QSqlRelationalTabelModel fails to insert row

2012-06-01 Thread NoRulez
Update: A custom INSERT call with QSqlQuery works in the subclass, but I didn't find out why the insertRows() function doesn't work as expected.Best RegardsAm 30. Mai 2012 um 20:47 schrieb noru...@me.com:Hello, I have two tables (products, customers). In the subclass of the QSqlRelationalTableMode

[Interest] QSqlRelationalTabelModel fails to insert row

2012-05-30 Thread norulez
Hello, I have two tables (products, customers). In the subclass of the QSqlRelationalTableModel (customers) i set up the relations. In the view i use a QSqlRelationalDelegate to get a combobox with the products. Now, if i add a new product, then I see the product in the combobox. But if I add a