--- a/src/hbplugins/inputmethods/touchinput/virtualqwerty.cpp Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/virtualqwerty.cpp Fri Sep 17 08:32:10 2010 +0300
@@ -92,7 +92,7 @@
connect(HbInputSettingProxy::instance(), SIGNAL(typingCorrectionLevelChanged(HbTypingCorrectionLevel)), this, SLOT(typingCorrectionLevelChanged(HbTypingCorrectionLevel)));
mPredictionModeHandler->setPrimaryCandidateMode(HbInputSettingProxy::instance()->primaryCandidateMode());
mPredictionModeHandler->setAutocompletionStatus(HbInputSettingProxy::instance()->isAutocompletionEnabled(HbKeyboardSettingQwerty));
- mPredictionModeHandler->setTypingCorrectionLevel(HbInputSettingProxy::instance()->typingCorrectionLevel());
+
}
// ---------------------------------------------------------------------------
@@ -298,6 +298,13 @@
if(mActiveModeHandler) {
mActiveModeHandler->actionHandler(HbInputModeHandler::HbInputModeActionSetKeypad);
}
+
+ if(mCurrentKeypad && mCurrentKeypad == mQwertyAlphaKeypad) {
+ mPredictionModeHandler->setTypingCorrectionLevel(HbInputSettingProxy::instance()->typingCorrectionLevel());
+ }
+ else {
+ mPredictionModeHandler->setTypingCorrectionLevel(HbTypingCorrectionLevelLow);
+ }
}
/*!
@@ -349,7 +356,7 @@
void HbVirtualQwerty::keypadClosed()
{
- if (mVkbHost->keypadStatus() == HbVkbHost::HbVkbStatusMinimized) {
+ if (mVkbHost && mVkbHost->keypadStatus() == HbVkbHost::HbVkbStatusMinimized) {
closeExactWordPopup();
}
}