From 2bc44b055e1ba0ddc2aa89e01770b9295c95d001 Mon Sep 17 00:00:00 2001 From: Woochan Lee Date: Wed, 15 Feb 2017 13:06:49 +0900 Subject: [PATCH] elc_multibuttonentry: input panel should be shown whenever mbe is clicked. Summary: When mbe got focus the input panel will be shown. Otherwise, input panel will be hidden. If the mbe still got focus then input panel hide by user action. there is no way to reactivate the input panel in case. Reviewers: woohyun, jpeg, cedric, Hermet Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4661 --- src/lib/elementary/elc_multibuttonentry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/elementary/elc_multibuttonentry.c b/src/lib/elementary/elc_multibuttonentry.c index 2ab94b7..729fa41 100644 --- a/src/lib/elementary/elc_multibuttonentry.c +++ b/src/lib/elementary/elc_multibuttonentry.c @@ -990,6 +990,10 @@ _mouse_clicked_signal_cb(void *data EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) { + ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(obj, sd); + + if (sd->editable) elm_entry_input_panel_show(sd->entry); + efl_event_callback_legacy_call(obj, EFL_UI_EVENT_CLICKED, NULL); } -- 2.7.4