summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-01-08 14:48:12 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-01-09 15:28:43 +0100
commit1c75f59588694557caba69c2fc173dd8f1d7f514 (patch)
treeca25a230274842a8ea2a25c0a144549dcb8d17c8 /src/gui/opengl
parent1e42c97cf055ac20352d20150e2786c14565ea2b (diff)
iOS: Handle positionFromPosition out of bounds
Based on the documentation for positionFromPosition, if the resulting position is less than 0 or longer than the text, then we should return nil. This fixes problems with placement of the cursor and selection rectangle when auto-completion is used. Fixes: QTBUG-79445 Change-Id: I44a18881527a8a22012fe5fcbbc3216e60c48bc9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions