src/hbplugins/inputmethods/common/hbinputbasichandler.cpp
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
   179     case HbInputButton::ButtonKeyCodeSettings:
   179     case HbInputButton::ButtonKeyCodeSettings:
   180         // Hide the autocompletion popup when InputSetting dialog is launched
   180         // Hide the autocompletion popup when InputSetting dialog is launched
   181         if(d->mAutoCompleter) {
   181         if(d->mAutoCompleter) {
   182             d->mInputMethod->closeAutoCompletionPopup();
   182             d->mInputMethod->closeAutoCompletionPopup();
   183         }
   183         }
   184 		break;
   184         break;
   185     default:
   185     default:
   186         ret = HbInputModeHandler::filterEvent(event);
   186         ret = HbInputModeHandler::filterEvent(event);
   187         break;
   187         break;
   188     }
   188     }
   189     return ret;
   189     return ret;
   192 /*!
   192 /*!
   193  Action Handler for latin basic.
   193  Action Handler for latin basic.
   194 */
   194 */
   195 bool HbInputBasicHandler::actionHandler(HbInputModeAction action)
   195 bool HbInputBasicHandler::actionHandler(HbInputModeAction action)
   196 {
   196 {
   197     return HbInputModeHandler::actionHandler(action);
   197     bool ret = true;
       
   198     switch (action) {
       
   199     case HbInputModeActionRestorePreviousState:
       
   200         refreshAutoCompleter();
       
   201         break;
       
   202     default:
       
   203         ret = HbInputModeHandler::actionHandler(action);
       
   204     }
       
   205     return ret;
   198 }
   206 }
   199 
   207 
   200 /*!
   208 /*!
   201 Commits the candidate upon closing of the candidate list. Now can the closing key be anything other than
   209 Commits the candidate upon closing of the candidate list. Now can the closing key be anything other than
   202 just selection. Need to evaluate this. When the candidate list is visible, the current implementation of the
   210 just selection. Need to evaluate this. When the candidate list is visible, the current implementation of the