View Full Version : Tablemodel Insertrows does not run if the TableWidget that uses it is not visible.

13th April 2011, 08:47
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 ?