equal
deleted
inserted
replaced
188 return true; |
188 return true; |
189 } |
189 } |
190 |
190 |
191 if (buttonId == HbInputButton::ButtonKeyCodeShift) { |
191 if (buttonId == HbInputButton::ButtonKeyCodeShift) { |
192 // single tap of shift key toggles prediction status in case insensitive languages |
192 // single tap of shift key toggles prediction status in case insensitive languages |
193 if (!HbInputSettingProxy::instance()->globalInputLanguage().isCaseSensitiveLanguage()) { |
193 if (!mInputMethod->inputState().language().isCaseSensitiveLanguage()) { |
194 HbInputSettingProxy::instance()->togglePrediction(); |
194 HbInputSettingProxy::instance()->togglePrediction(); |
195 } else { |
195 } else { |
196 if (mShiftKeyDoubleTap) { |
196 if (mShiftKeyDoubleTap) { |
197 mTimer->stop(); |
197 mTimer->stop(); |
198 mShiftKeyDoubleTap = false; |
198 mShiftKeyDoubleTap = false; |