summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qcommonstyle.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-01-14 11:31:01 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-01-20 16:52:17 +0100
commit2e35a03cd624c006b92cb95847231c8b1efde45b (patch)
treee9882e2098aafce97d5a7330da3847055b83ec7c /src/widgets/styles/qcommonstyle.cpp
parent61c3f3539c3d2d7dc867c3fef0270a2f5c9ed376 (diff)
iOS: ensure we hide the edit menu while dragging on the selection handles
iOS used to close the edit menu automatically when the user tapped on the screen (even for menus shown explicitly using the UIMenuController API). Apperently this has now changed (probably as a part of [UIMenuController setMenuVisible:] being deprecated in iOS 13). So we now need to hide it explicitly instead. Because of this, the edit menu would be showing together with the magnifier class while the user was dragging on any of the handles. This patch will fix this, so that we close the edit menu explicitly whenever the user starts dragging on a handle. Pick-to: 6.0 5.15 Fixes: QTBUG-80298 Change-Id: Iff2032d64db1b582fa7f048c6a1f37ec8a1528af Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/widgets/styles/qcommonstyle.cpp')
0 files changed, 0 insertions, 0 deletions