src/hbcore/inputfw/hbinputmethod.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 5 627c4a0fd0e7
equal deleted inserted replaced
2:06ff229162e9 3:11d3954df52a
   239 void HbInputMethod::activeKeyboardChanged(HbKeyboardType newKeyboard)
   239 void HbInputMethod::activeKeyboardChanged(HbKeyboardType newKeyboard)
   240 {
   240 {
   241     if (!isActiveMethod()) {
   241     if (!isActiveMethod()) {
   242         return;
   242         return;
   243     }
   243     }
   244     Q_D(HbInputMethod);
   244 
       
   245     Q_D(HbInputMethod);
       
   246 
   245     d->mInputState.setKeyboard(newKeyboard);
   247     d->mInputState.setKeyboard(newKeyboard);
   246     HbInputMethod* stateHandler = d->findStateHandler(d->mInputState);
   248     HbInputMethod* stateHandler = d->findStateHandler(d->mInputState);
   247     if (stateHandler) {
   249     if (stateHandler) {
   248         d->inputStateToEditor(d->mInputState);
   250         d->inputStateToEditor(d->mInputState);
   249         if (stateHandler != this) {
   251         if (stateHandler != this) {