Elm entry: Set initial select mode for non desktop entries.

Initial select mode was not properly set, as was just left to default.

This, in combination with the following from the efl repo:
commit 211845c885
commit c061e76927
fixes T861.
This commit is contained in:
Tom Hacohen 2014-02-07 14:13:46 +00:00
parent 4aeb779a48
commit 5174961edd
1 changed files with 2 additions and 3 deletions

View File

@ -573,9 +573,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list)
elm_widget_theme_object_set
(obj, sd->entry_edje, "entry", _elm_entry_theme_group_get(obj), style);
if (_elm_config->desktop_entry)
edje_object_part_text_select_allow_set
(sd->entry_edje, "elm.text", EINA_TRUE);
edje_object_part_text_select_allow_set
(sd->entry_edje, "elm.text", _elm_config->desktop_entry);
elm_object_text_set(obj, t);
eina_stringshare_del(t);