src/hbplugins/inputmethods/touchinput/hbinputnumeric12keyhandler.cpp
changeset 21 4633027730f5
parent 2 06ff229162e9
child 23 e6ad4ef83b23
--- a/src/hbplugins/inputmethods/touchinput/hbinputnumeric12keyhandler.cpp	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/hbinputnumeric12keyhandler.cpp	Wed Aug 18 10:05:37 2010 +0300
@@ -121,6 +121,7 @@
 bool HbInputNumeric12KeyHandlerPrivate::buttonPressed(const QKeyEvent *keyEvent)
 {
     Q_Q(HbInputNumeric12KeyHandler);
+    mLongPressHappened = false;
 	HbInputFocusObject *focusObject = 0;
     focusObject = mInputMethod->focusObject();
     if (!focusObject) {
@@ -139,7 +140,9 @@
             mInputMethod->selectSpecialCharacterTableMode();
             mLongPressHappened = true;
         } else if (buttonId == HbInputButton::ButtonKeyCodeAsterisk &&
-                   mInputMethod->currentKeyboardType() != HbKeyboardSctPortrait) {
+                   mInputMethod->currentKeyboardType() != HbKeyboardSctPortrait &&
+                   mInputMethod->currentKeyboardType() != HbKeyboardSctEmail &&
+                   mInputMethod->currentKeyboardType() != HbKeyboardSctUrl) {
             mLongPressHappened = true;
             mCurrentMultitapChar = QChar(HbInputButton::ButtonKeyCodeAsterisk);
             HbInputFocusObject *focusedObject = mInputMethod->focusObject();