Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.1
-
None
-
188c2ef11e92d04dcf334309c85a7f1b14945aaa
Description
QHeaderView: sectionPressed() and sectionClicked() are emitted with different values when columns are hidden and the model is a QSortFilterProxyModel. The attached example reproduces this problem.
The attached patch addresses the problem since logicalIndexAt() was called twice in this case which exposed the issue, but doesn't solve the reason why it appeared to have changed in this case.