I have a tablemodel.>insertrows with the correct beginInsertRows --- endInsertRows .
I have a custom function 'set_rows' that calls it if needed. If I call 'insertrows' from mainwindow nothing happens.
I I call this function one time the window is showed (using a pushbutton) it works ok.
Any help ?