summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-15 12:28:24 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-16 15:28:18 +0100
commit557dcd8a87c6c6c77ccc71a85b1ec349c69eb4c4 (patch)
tree802ee5f2e732be5212630b4c8a55a52c1ff70e7b /src/plugins/platforms/eglfs/deviceintegration
parent0cfaa6e8964a0458cca20ce686b6a399293ad4cc (diff)
QAbstractItemView: don't start editing on Ctrl-Click
Amends 17c1ebf8bfd254ff75cc55e335d1c1fb01da547f, after which dragEnabled item views toggled selection on click rather than on press. If the edit trigger included SelectedClicked at the same time, then Ctrl-Clicking a selected item would start editing the item, instead of toggling selection. Fix this by ignoring clicks with modifier when evaluating whether editing should start. Extend the mouseSelection test case by including a column for the editTrigger, and cover the respective combinations. Fixes: QTBUG-111131 Pick-to: 6.5 6.4 6.2 Change-Id: I9605f9b3d5a49e292551a34c3c4c7a5f9ecb2a89 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/deviceintegration')
0 files changed, 0 insertions, 0 deletions