diff options
author | Richard Moe Gustavsen <[email protected]> | 2022-01-20 15:51:00 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <[email protected]> | 2022-01-24 14:46:02 +0100 |
commit | c67c468ec13a134c5ad7fe36bf69f12a3498a01b (patch) | |
tree | 7a62480d14db1464ed1264eb6785d38791ecd647 /src/qquicktreeview_p.h | |
parent | c89e24dd03d470ebda75ac34fc9de8ddb8c0c760 (diff) |
If the app expands a row in TreeView, that row will for a brief moment
be expanded in the proxy model, but not in the view, until the
view is polished. For that reason, when determining if a row can be
expanded or not, we should check the state of the proxy model, and
not the view.
Note: if the application needs the state of the view to reflect the
state of the proxy model immediataly after a call to expand,
forcePolish() is always possible.
Task-number: QTBUG-91374
Change-Id: Ibda8d90e2dc2077a6f24090566ce3ba20a734c29
Reviewed-by: Shawn Rutledge <[email protected]>
Diffstat (limited to 'src/qquicktreeview_p.h')
0 files changed, 0 insertions, 0 deletions