Fix the bug that autopopup numbers are not properly entered 25/191325/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 16 Oct 2018 05:33:31 +0000 (14:33 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 16 Oct 2018 05:33:31 +0000 (14:33 +0900)
Change-Id: I88b0cbc674626a0717d9bc8d979ac5a165f93cf1

scl/sclresourcecache.cpp

index 4e178c1..91ebe95 100644 (file)
@@ -1423,15 +1423,6 @@ void CSCLResourceCache::generate_autopopup_layout(const SclLayoutKeyCoordinate *
                 (*pCurLayoutKeyCoordinates)[button_index].autopopup_key_values[2][0] = NULL;
                 (*pCurLayoutKeyCoordinates)[button_index].extra_option = 0;
 
-                /* If the keyvalue is in between the SCL_ISCHAR range, consider this to be a KEY_TYPE_CHAR */
-                if ((*pCurLayoutKeyCoordinates)[button_index].key_value[0][0]) {
-                    if (strlen((*pCurLayoutKeyCoordinates)[button_index].key_value[0][0]) == 1) {
-                        if (SCL_ISCHAR(*(*pCurLayoutKeyCoordinates)[button_index].key_value[0][0])) {
-                            (*pCurLayoutKeyCoordinates)[button_index].key_type = KEY_TYPE_CHAR;
-                        }
-                    }
-                }
-
                 (*pCurButtonContext)[button_index].used = TRUE;
                 button_index++;
             }