hermet pushed a commit to branch elementary-1.15.

http://git.enlightenment.org/core/elementary.git/commit/?id=07d916e40adcfec5534435ca280f3c00e6e0ac1f

commit 07d916e40adcfec5534435ca280f3c00e6e0ac1f
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 9caa440..fd608b1 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -335,9 +335,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