elementary/elm_entry : When theme is changed, pos is set to zero as

default.


SVN revision: 67008
This commit is contained in:
WooHyun Jung 2012-01-10 01:34:22 +00:00
parent 0f8b78cdd5
commit 7e1da5af29
1 changed files with 2 additions and 1 deletions

View File

@ -530,7 +530,8 @@ _theme_hook(Evas_Object *obj)
edje_object_part_text_input_panel_layout_set(wd->ent, "elm.text", wd->input_panel_layout);
edje_object_part_text_autocapital_type_set(wd->ent, "elm.text", wd->autocapital_type);
edje_object_part_text_input_panel_enabled_set(wd->ent, "elm.text", wd->input_panel_enable);
elm_entry_cursor_pos_set(obj, wd->cursor_pos);
if (wd->cursor_pos != 0)
elm_entry_cursor_pos_set(obj, wd->cursor_pos);
if (elm_widget_focus_get(obj))
edje_object_signal_emit(wd->ent, "elm,action,focus", "elm");
edje_object_message_signal_process(wd->ent);