hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=260e9ac4eeb27c3820ffb982ea4dedff67f18cad

commit 260e9ac4eeb27c3820ffb982ea4dedff67f18cad
Author: Shilpa Singh <shilpa.si...@samsung.com>
Date:   Wed Sep 16 10:25:18 2015 +0900

    elc_multibuttonentry: Input panel should be controlled only if
    multibuttonentry is editable
    
    Summary:
    Input panel should be controlled only if Multibuttonentry is editable, else 
causes issues in applications controlling keypad by themselves
    
    @fix
    
    Reviewers: CHAN, Hermet
    
    Reviewed By: Hermet
    
    Subscribers: navnbeet
    
    Differential Revision: https://phab.enlightenment.org/D3050
---
 src/lib/elc_multibuttonentry.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index e9c44e5..f9f3d6c 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -346,9 +346,11 @@ _elm_multibuttonentry_elm_widget_on_focus(Eo *obj, 
Elm_Multibuttonentry_Data *sd
      }
    else
      {
-        _view_update(sd);
-
-        elm_entry_input_panel_hide(sd->entry);
+        if (sd->editable)
+          {
+             _view_update(sd);
+             elm_entry_input_panel_hide(sd->entry);
+          }
         eo_do(obj, eo_event_callback_call
           (ELM_WIDGET_EVENT_UNFOCUSED, NULL));
      }

-- 


Reply via email to