diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-07-06 03:48:23 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-07-06 04:05:17 (GMT) |
commit | 98bfc8b8db811eb902290dbe87660ce799a44c27 (patch) | |
tree | 3715bdfae53a49cf5b1fca9c9fe16ddc0094c9ee /src/declarative/graphicsitems/qdeclarativetextinput.cpp | |
parent | b43f46fdc4fede579b512624c03df5c19893288a (diff) | |
download | Qt-98bfc8b8db811eb902290dbe87660ce799a44c27.zip Qt-98bfc8b8db811eb902290dbe87660ce799a44c27.tar.gz Qt-98bfc8b8db811eb902290dbe87660ce799a44c27.tar.bz2 |
Fix input methods for TextInput elements with key handlers
Task-number: QTBUG-10297
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index 374f371..c2eea6e 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -908,6 +908,7 @@ void QDeclarativeTextInput::keyPressEvent(QKeyEvent* ev) void QDeclarativeTextInput::inputMethodEvent(QInputMethodEvent *ev) { Q_D(QDeclarativeTextInput); + ev->ignore(); inputMethodPreHandler(ev); if (ev->isAccepted()) return; |