[Editfield] A preevent issue was fixed
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 16 Aug 2011 11:36:29 +0000 (20:36 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Tue, 16 Aug 2011 11:36:29 +0000 (20:36 +0900)
src/lib/elm_editfield.c

index b632fb5..e20e63d 100644 (file)
@@ -158,7 +158,7 @@ static void
 _show_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    Widget_Data *wd = elm_widget_data_get(data);
-   if ((!wd) && (!wd->entry)) return;
+   if (!wd) return;
    if (wd->editing && wd->single_line)  // FIXME : single_line is not needed for this conditional state after TEXTBLOCK fixing
      elm_object_focus(wd->entry);
 }