diff options
author | Vyacheslav Grigoryev <armagvvg@gmail.com> | 2016-05-06 01:29:27 +0300 |
---|---|---|
committer | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2016-05-09 05:14:38 +0000 |
commit | 558718ff4406638410364db7c1310cb38963d6df (patch) | |
tree | 114b3b7f765fc630bdce9b5369ec128840cf9ce4 /tests/auto/dbus/qdbusmarshall/tst_qdbusmarshall.cpp | |
parent | 194a56ea79a4aa11a01dda0491427bb5ba4b37fd (diff) |
QTableView: Fix selection for reordered or hidden rows/columns
The old code sometimes made incorrect selections when rows or columns were
hidden or moved. It used logical top left and bottom right indexes to create a
selection rectangle. However on moved or hidden cells a wrong rectangle was
made. This fix calculates a simple rectangle without hidden cells and makes use
of the row/column select functionality provided by the selection model, to make
the right selection.
[ChangeLog][QtWidgets][QTableView] Fixed a selection bug when rows or columns were hidden (QTBUG-50171)
Task-number: QTBUG-50171
Change-Id: Id186012af26da7b2051ff5eb1c13e6b7494cca77
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'tests/auto/dbus/qdbusmarshall/tst_qdbusmarshall.cpp')
0 files changed, 0 insertions, 0 deletions