summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index b6ca59a..132df7d 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -743,7 +743,8 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event)
if (keyEvent->type() == QEvent::KeyPress
&& currentHints & Qt::ImhHiddenText
- && !keyEvent->text().isEmpty()) {
+ && !keyEvent->text().isEmpty()
+ && keyEvent->key() != Qt::Key_Enter) {
// Send some temporary preedit text in order to make text visible for a moment.
m_preeditString = keyEvent->text();
QList<QInputMethodEvent::Attribute> attributes;