}
EOLIAN static void
-_elm_entry_select_all(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd)
+_elm_entry_select_all(Eo *obj, Elm_Entry_Data *sd)
{
//TIZEN_ONLY(20150806): Selection is enabled for password mode
//if ((sd->password)) return;
//
+ //TIZEN_ONLY(20170313) if entry is empty, no selection can happen
+ if (elm_entry_is_empty(obj)) return;
+ //
if (sd->sel_mode)
{
sd->sel_mode = EINA_FALSE;
}
EOLIAN static void
-_elm_entry_select_region_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, int start, int end)
+_elm_entry_select_region_set(Eo *obj, Elm_Entry_Data *sd, int start, int end)
{
//TIZEN_ONLY(20150806): Selection is enabled for password mode
//if ((sd->password)) return;
//
+ //TIZEN_ONLY(20170313) if entry is empty, no selection can happen
+ if (elm_entry_is_empty(obj)) return;
+ //
if (sd->sel_mode)
{
sd->sel_mode = EINA_FALSE;