[elm_multibuttonentry]Fix logic : entry cursor doesn't show up after pause & resume
authorGoun Lee <gouni.lee@samsung.com>
Tue, 6 Sep 2011 09:36:48 +0000 (18:36 +0900)
committerGoun Lee <gouni.lee@samsung.com>
Tue, 6 Sep 2011 09:36:48 +0000 (18:36 +0900)
src/lib/elm_multibuttonentry.c

index c34c522..b4c38cb 100644 (file)
@@ -168,10 +168,10 @@ _on_focus_hook(void *data __UNUSED__, Evas_Object *obj)
              ecore_imf_context_input_panel_show(imf_context);
              evas_object_focus_set(obj, EINA_TRUE);
           }
-        else if ((imf_context) && (!wd->current))
+        else if ((imf_context) && (!wd->current) || (!eina_list_count(wd->items)))
           {
+             _view_update(obj);
              ecore_imf_context_input_panel_show(imf_context);
-             elm_object_focus(wd->entry);
           }
      }
    else