Android: Make cursor keys work again
On Android, we disable mouse selection, since that does not work
well with touch screens. In change a03a69efb9
,
we accidentally disabled keyboard selection as well. Unfortunately,
disabling keyboard selection will disable all keyboard movement.
This change re-enables TextSelectableByKeyboard.
Task-number: QTBUG-42991
Change-Id: Ie63ed3d88a0abcb72f04e0ec60a5b91c0b14a47e
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
This commit is contained in:
parent
404f4281fd
commit
b9547af45e
@ -110,7 +110,7 @@ QWidgetTextControlPrivate::QWidgetTextControlPrivate()
|
||||
#ifndef Q_OS_ANDROID
|
||||
interactionFlags(Qt::TextEditorInteraction),
|
||||
#else
|
||||
interactionFlags(Qt::TextEditable),
|
||||
interactionFlags(Qt::TextEditable | Qt::TextSelectableByKeyboard),
|
||||
#endif
|
||||
dragEnabled(true),
|
||||
#ifndef QT_NO_DRAGANDDROP
|
||||
|
Loading…
Reference in New Issue
Block a user