equal
deleted
inserted
replaced
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) { |