[entry] bug fix : keyboard doesn't appear when multibutton entry has focus again
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jun 2011 08:06:13 +0000 (17:06 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jun 2011 08:06:13 +0000 (17:06 +0900)
Change-Id: I2af3d76a121369905f706738ab1ef446c1d3e8df

src/lib/edje_entry.c

index 6f3f629..093985f 100644 (file)
@@ -191,15 +191,14 @@ _input_panel_hide(Entry *en)
 static void
 _input_panel_show(Entry *en)
 {
-   if (!en || !en->input_panel_enable) return;
-
    if (hide_timer)
      {
         ecore_timer_del(hide_timer);
         hide_timer = NULL;
      }
 
-   if(!en->imf_context) return;
+   if (!en || !en->input_panel_enable || !en->imf_context) return;
+
    ecore_imf_context_input_panel_show(en->imf_context);
    focused_entry = en;
 }