summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShilpa Singh <shilpa.singh@samsung.com>2015-09-16 10:25:18 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-09-16 10:26:54 +0900
commit07d916e40adcfec5534435ca280f3c00e6e0ac1f (patch)
treee3c819bc14eb7b43281e450089fadeb53e607392
parent9f2dccd02b044c4d0f035601adc8ee3620638e6d (diff)
downloadelementary-07d916e40adcfec5534435ca280f3c00e6e0ac1f.tar.gz
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
-rw-r--r--src/lib/elc_multibuttonentry.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 9caa440b6..fd608b137 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));
}