src/hbinput/inputwidgets/hbinputsctkeyboard.cpp
changeset 5 627c4a0fd0e7
parent 2 06ff229162e9
child 6 c3690ec91ef8
--- a/src/hbinput/inputwidgets/hbinputsctkeyboard.cpp	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputsctkeyboard.cpp	Fri Jun 11 13:58:22 2010 +0300
@@ -289,7 +289,7 @@
                 HbInputButton *item = buttons.at(i);
 
                 const HbKeyboardMap *keyboardMap = mKeymap->keyboard(q->keyboardType());
-                if (keyboardMap && key < keyboardMap->keys.count()) {
+                if (keyboardMap && key < keyboardMap->keys.count() && keyboardMap->keys.at(key)->characters(HbModifierNone)!= QString("")) {
                     QString keydata = keyboardMap->keys.at(key)->characters(HbModifierNone);
                     item->setText(keydata.at(0), HbInputButton::ButtonTextIndexPrimary);
                 } else {