Fixed crash in input methods when using symbols menu and numbers only
authoraxis <qt-info@nokia.com>
Thu, 9 Sep 2010 11:48:58 +0000 (13:48 +0200)
committeraxis <qt-info@nokia.com>
Fri, 10 Sep 2010 09:51:44 +0000 (11:51 +0200)
commit1ecd2d460896959cf3c5654f4cef7e4d3c8f5cf6
tree5f3f263d6080e2000562b9b405820b8f08935870
parent2735bc6759f881c786a1097580a8682e3d28f365
Fixed crash in input methods when using symbols menu and numbers only

When inputting only numbers, the symbol menu should not do anything.
However in the old code the resource id of the symbol table was still
being set, so the symbol key on N97 would look up a table that was
not valid for the current input mode and crash.

Fixed by setting the symbol table id to zero under those conditions.

RevBy:    Sami Merila
Task:     QTBUG-13472
AutoTest: Included
(cherry picked from commit 5cef786a651c675d3428060a19bfd9d9ecee6083)
src/gui/inputmethod/qcoefepinputcontext_s60.cpp
tests/auto/qinputcontext/tst_qinputcontext.cpp