iOS: support edit action 'select'

Now that we don't populate the edit menu from qtquickcontrols
anymore (because of shortcut issues), report to UIKit that
we support select so that the action shows in the menu.

Change-Id: I92508da4e1789c361d778cc6c1c77c86308f4c73
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
bb10
Richard Moe Gustavsen 2015-11-26 14:52:24 +01:00 committed by Simon Hausmann
parent c5e972eb87
commit e98922bbde
1 changed files with 7 additions and 0 deletions

View File

@ -382,6 +382,13 @@
[self sendShortcut:QKeySequence::Paste];
}
- (void)select:(id)sender
{
Q_UNUSED(sender);
[self sendShortcut:QKeySequence::MoveToPreviousWord];
[self sendShortcut:QKeySequence::SelectNextWord];
}
- (void)selectAll:(id)sender
{
Q_UNUSED(sender);