summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
authorDaniel Teske <qt@squorn.de>2017-11-03 13:24:18 +0100
committerDaniel Teske <qt@squorn.de>2018-04-30 19:01:01 +0000
commitedf6debbabe997dee9e636a831ccff73d184b6c1 (patch)
treee730b940b04b81ba25c657b09f5c0a82799e3dd7 /src/widgets/widgets
parentd6b9cba812ffc6c191edcc9d578067b374b169af (diff)
QitemSelectionModel: Fix a bug in isColumnSelected
Previously the code for isColumnSelected and isRowSelected differed slightly, in how unselectable indexes would be treated. This made isColumnSelected return false for a column, which mixed unselectable indexes and selected indexes. Thus in some situations, the user could not deselect a column via a QTableView header. By copying the isRowSelected code to isColumnSelected, rows and columns behave identical. Task-number: QTBUG-18001 Change-Id: I6ca85ac64b31a481fafeaa3bec958b18283eed8d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/widgets')
0 files changed, 0 insertions, 0 deletions