<div dir="ltr"><div>

        
    
    <div class="gmail-post-text">

<p>I've recently examined an example from Chapter 15 of “Rapid GUI Programming with Python and Qt”  by Mark Summerfield 
 which presents the use of SQL Database TableView modelling. In this original example, I found a 
little dysfunctionality which prevents the table views from refreshing 
combobox delegates (being QSqlRelation). Simply, the combobox delegates in the table view which represent the data of QSqlRelationalTableModel, are not updated once relational tables have been modified.</p></div>

</div><div>I describe the problem in detail under the following link:</div><div><a href="https://stackoverflow.com/q/59482845/12597742?sem=2" style="color:blue;text-decoration:underline">https://stackoverflow.com/q/59482845/12597742?sem=2</a>
<span></span></div><div><br></div><div>
How can I programmatically update the list of items in the combobox delegate (QSqlRelation) in a table view which represents QSqlRelationalTableModel data?<br></div><div>





</div></div>