diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-05-06 11:20:53 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-05-06 18:31:41 +0200 |
commit | 546df684e272bbbc5e8b871ae9b224fdb34a4cfa (patch) | |
tree | f0816532170164c21ae00ca98e55d54328cb6de4 /tools | |
parent | 0fef848468fdf2fb38670a40c593a2b8f20830a6 (diff) |
qquicktableview: upon forceLayout(), check for visible rows/columns at the origin
There is a bug in TableView which will stop the user from
scrolling/flicking back to the first column if it has become
visible after first being hidden.
The reason is that this is somewhat of a special case that
happens only if the current left column is already at the
origin of the viewport, since that will fool tableview into
thinking that there can be no more columns in front of it.
This patch add an extra section to the function that checks
for visibility changes, to detect this special case.
Fixes: QTBUG-93264
Pick-to: 6.1 5.15
Change-Id: Ieaad507b45ea11dc231519e9f49cbf182d6443ba
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions