[Bug fix]Removed add callback in del_button_item()
authorGoun Lee <gouni.lee@samsung.com>
Tue, 3 May 2011 01:35:46 +0000 (10:35 +0900)
committerGoun Lee <gouni.lee@samsung.com>
Tue, 3 May 2011 01:35:46 +0000 (10:35 +0900)
src/lib/elm_multibuttonentry.c

index 12e9294..c9128b6 100755 (executable)
@@ -659,7 +659,8 @@ _del_button_item(Elm_Multibuttonentry_Item *item)
    if (wd->view_state == MULTIBUTTONENTRY_VIEW_CONTRACTED)
      _contracted_state_set(obj, 1);
 
-   evas_object_smart_callback_call(obj, "item,added", item);
+   if (!eina_list_count(wd->items))
+     _set_vis_guidetext(obj);
 }
 
 static void