summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-04-13 08:34:46 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-04-13 08:34:46 (GMT)
commit1840a4383fd19bc64ef6d81c09c3f54aeb52d777 (patch)
treee62d5ab5fb526566013e53719022a6f2d77f9440 /src/gui/inputmethod
parent60475e93890550f4fb67367980249a21b9346747 (diff)
downloadQt-1840a4383fd19bc64ef6d81c09c3f54aeb52d777.zip
Qt-1840a4383fd19bc64ef6d81c09c3f54aeb52d777.tar.gz
Qt-1840a4383fd19bc64ef6d81c09c3f54aeb52d777.tar.bz2
Predictive Text causing app to crash after repeated edit attempts
Splitview changes cause application to crash, since the cancellation of FEP transaction is not notified to the native side. This leads the native side and Qt to be not in sync. Task-number: QT-4879 Reviewed-by: Guoqing Zhang
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index 868565d..8574f2c 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -231,7 +231,7 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event)
// It ignores the mouse event, so we need to commit and send a selection event (which will get triggered
// after the commit)
if (!m_preeditString.isEmpty()) {
- commitCurrentString(false);
+ commitCurrentString(true);
int pos = focusWidget()->inputMethodQuery(Qt::ImCursorPosition).toInt();