multibuttonentry: input panel should be shown whenever mbe is clicked
authorWoochan Lee <wc0917.lee@samsung.com>
Mon, 13 Feb 2017 04:18:02 +0000 (13:18 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Tue, 14 Feb 2017 06:02:05 +0000 (15:02 +0900)
Change-Id: I112eba1ee9f0e659225e7e2f4ebfe0b3f6066df9

src/lib/elc_multibuttonentry.c

index b4dbef86f5ddfa652e08c091b5bb394efd3fd9fc..a22fca731ca8369ee4652c6aa4ece6c16665ba85 100644 (file)
@@ -1069,6 +1069,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);
+
    eo_do(obj, eo_event_callback_call(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL));
 }