diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2019-05-15 14:31:08 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2019-05-15 17:37:47 +0000 |
commit | 071a0a6937432ad60c1b261af9f5b48861fbb70c (patch) | |
tree | c36a53d16f6aed038b8fe6403ce8bbfd7ba67537 /header.LGPL3 | |
parent | 61d990da967d10d15cd8b73d0bee9f36387f8278 (diff) |
iOS: be more careful about hiding the edit menu
The code that deals with text selection in the iOS QPA
plugin, listen for changes to text selection. And depending
on whether we have a selection or not, we show or hide
the selection handles together with the edit menu.
The problem is that the edit menu will also be told to
show from other places, even if there is no selection. And
for those cases, we should avoid closing it.
This patch will check, before we close the edit menu, if we're
tracking a selection. If not, we leave the edit menu alone.
Fixes: QTBUG-75099
Change-Id: I001d818fa2ad4a215cc3fa6aa4c7faf516e1ed59
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'header.LGPL3')
0 files changed, 0 insertions, 0 deletions