Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.12.3
-
None
Description
It's necessary to point out that QSqlTableModel::fieldIndex() returns logicalIndex rather than visualIndex of a filed , which might be used with https://doc.qt.io/qt-5/qheaderview.html
I have wasted a lot of time for not knowing the type of index QSqlTableModel::fieldIndex() returns