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
This commit is contained in:
Woochan Lee 2017-02-15 13:06:49 +09:00 committed by Jean-Philippe Andre
parent 32fbf64d28
commit 2bc44b055e
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}