edje_object_part_text_select_allow_set
(sd->entry_edje, "elm.text", EINA_FALSE);
+ /* TIZEN_ONLY(20171227): fix cursor position initialization issues when theme is changed */
+ int cursor_pos = sd->cursor_pos;
+ /* END */
elm_object_text_set(obj, t);
eina_stringshare_del(t);
+ /* TIZEN_ONLY(20171227): fix cursor position initialization issues when theme is changed */
+ if (sd->cursor_pos != cursor_pos)
+ {
+ sd->cursor_pos = cursor_pos;
+ edje_object_part_text_cursor_pos_set(sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN, cursor_pos);
+ }
+ /* END */
+
if (elm_widget_disabled_get(obj))
edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm");