src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
--- a/src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp	Wed Aug 18 10:05:37 2010 +0300
@@ -190,10 +190,7 @@
         }
         return true;
     }
-    else if (buttonId == HbInputButton::ButtonKeyCodeEnter) {
-        mInputMethod->closeKeypad();
-        return true;
-    }
+
     if (buttonId == HbInputButton::ButtonKeyCodeShift) {
         // single tap of shift key toggles prediction status in case insensitive languages
         if (!HbInputSettingProxy::instance()->globalInputLanguage().isCaseSensitiveLanguage()) {
@@ -232,6 +229,7 @@
         return true;
     }
     if (buttonId != HbInputButton::ButtonKeyCodeDelete &&
+        buttonId != HbInputButton::ButtonKeyCodeEnter &&
         mInputMethod->currentKeyboardType() == HbKeyboardSctPortrait) {
         q->sctCharacterSelected(QChar(buttonId));
         return true;