[PyQt] Problem on insert rows when using QTreeView with QSortFilterProxyModel

Benjamin Kloster benjamin.kloster at videlco.eu
Fri Jan 13 12:13:50 GMT 2012


Without the lsfw2 module, it's hard to test on my end, but have you 
tried keeping around a reference to the sourceModel? The Qt 
documentation doesn't mention whether the proxy model assumes ownership. 
If it doesn't, the source model will be garbage collected.


More information about the PyQt mailing list