summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_entry.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 207c10368d..37e75245dc 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -925,7 +925,14 @@ _elm_entry_efl_ui_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd)
925 edje_object_part_text_style_user_push(sd->entry_edje, "elm.text", stl_user); 925 edje_object_part_text_style_user_push(sd->entry_edje, "elm.text", stl_user);
926 eina_stringshare_del(stl_user); 926 eina_stringshare_del(stl_user);
927 927
928 cursor_pos = sd->cursor_pos; 928 cursor_pos = edje_object_part_text_cursor_pos_get
929 (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN);
930
931 if (cursor_pos != sd->cursor_pos)
932 {
933 sd->cursor_pos = cursor_pos;
934 sd->cur_changed = EINA_TRUE;
935 }
929 936
930 elm_object_text_set(obj, t); 937 elm_object_text_set(obj, t);
931 eina_stringshare_del(t); 938 eina_stringshare_del(t);