Skip to content
Commit 0c99c404 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

table: Fix sorting of tables using the header

A recent change in Qt enforced that the HorizontalHeaderView's
selectionModel always creates a header proxy model if an
abstractitemmodel is used for the HorizontalHeaderView's model. This
apparently broke setting the current column when using our own header
proxy model. However, we actually do not need the current column and
selection model handling, as it is just an integer property to keep
track of the column. So instead drop the selection model and track sort
column manually.

BUG: 479326


(cherry picked from commit e3ef0d76)
parent 6188950c
Pipeline #597101 passed with stage
in 1 minute and 4 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment