elementary/elm_entry : When limiting the length of text by filter callback, only committed text should be considered. Preediting text can be changed with the shorter one.

SVN revision: 82341
This commit is contained in:
WooHyun Jung 2013-01-07 11:37:53 +00:00
parent 7fdc6b90bb
commit 05b4f1fe58
1 changed files with 1 additions and 0 deletions

View File

@ -2293,6 +2293,7 @@ _chars_add_till_limit(Evas_Object *obj,
if (!*text) return;
if (unit >= LENGTH_UNIT_LAST) return;
if (strstr(*text, "<preedit")) return;
new_text = *text;
current_len = strlen(*text);