diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-01-08 16:27:53 +0100 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-01-18 14:54:20 +0100 |
| commit | 6eb26fe88648265ff4f7f1508280a24bb2cb900d (patch) | |
| tree | 5846ae834643965aaa55b7acdd69a87438d258c8 /src/qml/jsruntime/qv4function.cpp | |
| parent | a2a43985c48b7167cb87f22ec1fbfd45e47ac8d9 (diff) | |
TableView: don't clear existing selection
If TableView.selectionMode is ExtendedSelection, and the
user starts a second selection (by pressing ControlModifier
while dragging), the second selection can end up clearing
the first if they temporarily overlap.
This change will make sure that we save the current selection
when a new extended selection starts, to ensure that a cell will
stay selected if either the first or the second selection selects
it.
Pick-to: 6.7 6.6
Fixes: QTBUG-121132
Change-Id: I7bd6eeb4b0cc2372aa683c3c71d8e1b25c5ef17e
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions
