diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2025-08-28 12:55:24 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2025-09-16 08:42:14 +0800 |
commit | 0e45b15f10ffc4898fe3f0f233dc1a25e46af00d (patch) | |
tree | 0dabc25505b23a978d5463d7e9c14065fda69e5d /tools/qmlscene | |
parent | c66fb45c886781c8af85e15c8e8af7305ab38fed (diff) |
Previously it was returning event->allPointsAccepted(), which can be
false even if the event was accepted, because the event points'
accepted states are set to false before delivery.
This fixes an issue where a MouseArea under a ContextMenu created by a
text editing control would emit its pressed signal when a MenuItem in a
popup window above it was clicked.
Fixes: QTBUG-139342
Change-Id: I4d4043929c316a8e70fecdb4a8b23b48f9442390
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tools/qmlscene')
0 files changed, 0 insertions, 0 deletions