When implementing a QTableView using a QSqlRelationalTableModel I've noticed that any columns that have been added to the model are gone after doing any sort or select operation. Additionally, any ordering to the columns in the view are also undone after doing any sort or select operation.
It is rather as if each select() or sort() operation deletes the previous model and recreates it without, however, calling __init__() again. I didn't see any mention of this in the documentation so I'm wondering: what is the recommended way to make added columns survive sorting/selecting? What is the recommended way to make a re-ordering of columns survive sorting/selecting? Tim Doty _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
