Commit 7a9cd9d4 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia

Add additional key sequence tests.

Change-Id: Ie77a61a3ea0d1bdccd59dd519346db74bdf59c44
Reviewed-by: default avatarYann Bodson <yann.bodson@nokia.com>
parent 386e56ff
...@@ -3964,12 +3964,10 @@ void QQuickTextInputPrivate::processKeyEvent(QKeyEvent* event) ...@@ -3964,12 +3964,10 @@ void QQuickTextInputPrivate::processKeyEvent(QKeyEvent* event)
} }
#ifndef QT_NO_SHORTCUT #ifndef QT_NO_SHORTCUT
else if (event == QKeySequence::Undo) { else if (event == QKeySequence::Undo) {
if (!m_readOnly) q->undo();
q->undo();
} }
else if (event == QKeySequence::Redo) { else if (event == QKeySequence::Redo) {
if (!m_readOnly) q->redo();
q->redo();
} }
else if (event == QKeySequence::SelectAll) { else if (event == QKeySequence::SelectAll) {
selectAll(); selectAll();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment