src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
--- a/src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp	Fri Sep 17 08:32:10 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/hbinputprediction12keyhandler.cpp	Mon Oct 04 00:38:12 2010 +0300
@@ -190,7 +190,7 @@
 
     if (buttonId == HbInputButton::ButtonKeyCodeShift) {
         // single tap of shift key toggles prediction status in case insensitive languages
-        if (!HbInputSettingProxy::instance()->globalInputLanguage().isCaseSensitiveLanguage()) {
+        if (!mInputMethod->inputState().language().isCaseSensitiveLanguage()) {
             HbInputSettingProxy::instance()->togglePrediction();
         } else {
             if (mShiftKeyDoubleTap) {