src/hbplugins/inputmethods/common/hbinputbasichandler.cpp
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
--- a/src/hbplugins/inputmethods/common/hbinputbasichandler.cpp	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputbasichandler.cpp	Mon Oct 18 18:23:13 2010 +0300
@@ -181,7 +181,7 @@
         if(d->mAutoCompleter) {
             d->mInputMethod->closeAutoCompletionPopup();
         }
-		break;
+        break;
     default:
         ret = HbInputModeHandler::filterEvent(event);
         break;
@@ -194,7 +194,15 @@
 */
 bool HbInputBasicHandler::actionHandler(HbInputModeAction action)
 {
-    return HbInputModeHandler::actionHandler(action);
+    bool ret = true;
+    switch (action) {
+    case HbInputModeActionRestorePreviousState:
+        refreshAutoCompleter();
+        break;
+    default:
+        ret = HbInputModeHandler::actionHandler(action);
+    }
+    return ret;
 }
 
 /*!