diff options
| author | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-06-16 14:23:02 +0200 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-06-17 13:22:17 +0000 |
| commit | 7480ab5ce953d9c7450524d59b1f1cff60e4c2c9 (patch) | |
| tree | 8d042b71dd4c1a87852daa270b993a0829029f40 /examples/quick/controls/filesystembrowser/filesystembrowser.pro | |
| parent | 1c49a841d9daa7bc498e35b8cc0331e04e96ec70 (diff) | |
TextEdit: don't clear selection from EditMenu
The code as it stood ensured that only one input
field had a text selection at a time. This is not
correct, several text edit fields are allowed to have
a selection simultaneously.
The code that cleared the selection was found in the
updateSelectionItem code.
iOS is the only platform using the selectionItem.
But looking closer at how selections work on iOS, we
don't really need to track the selectionItem after all.
It's fine that you need to gain focus on a line edit /
text edit before you open the edit menu. Moreover, we
also lacked the possibility to open the selection menu
when just clicking on a focused line edit. So this
patch will therefore just remove all the code that
had todo with the selectionItem, and adjust a bit how
selections work on iOS.
Task-number: QTBUG-41375
Change-Id: I0f3951cb7f53e5adae8d8753a7058ee316825921
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/filesystembrowser/filesystembrowser.pro')
0 files changed, 0 insertions, 0 deletions
