Revert "elm_entry: fix duplicate text set" 18/83218/2
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 9 Aug 2016 12:33:51 +0000 (21:33 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 11 Aug 2016 04:39:22 +0000 (21:39 -0700)
This reverts commit e75202e86ba3bb6f73aa78185779a838aecd083c.

Change-Id: I3979664c31c9896602fa2ec6910f95213a450b53

src/lib/elm_entry.c

index 835eb94..4ee07c6 100644 (file)
@@ -4222,6 +4222,8 @@ _elm_entry_elm_layout_text_set(Eo *obj, Elm_Entry_Data *sd, const char *part, co
         sd->append_text_left = NULL;
      }
 
+   /* Need to clear the entry first */
+   edje_object_part_text_set(sd->entry_edje, "elm.text", "");
    _entry_text_append(obj, entry, EINA_TRUE);
 
    /* TIZEN_ONLY(20160502): Show/Hide guide text immediately.