summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-10-19 19:18:55 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-10-24 19:41:14 +0200
commit5edf34848a51c7678031aeb9576b8f3b7b5fceab (patch)
tree656448ee91e314abf109974415da24456b4e6d39 /src/gui/text
parentfcbf15c97bac91a889eccaa0cfad10093fd052f0 (diff)
QTableView: properly deselect row when column 0 is hidden/not visible
When the first column is hidden or not visible in the current viewport, it is not possible to deselect the current row. Fix it by passing the correct column to QItemSelectionModel::selectedRows() when testing if the current index is selected. Fixes: QTBUG-79092 Change-Id: I9d8082d2b29ad2f799156aee910c6ff6e3217771 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions