From 5a89984d2788418e99789b418ac20133f7cff69b Mon Sep 17 00:00:00 2001 From: JinYong Park Date: Mon, 10 Apr 2017 18:51:22 +0900 Subject: [PATCH] ctxpopup: add two flags set value for show again after dismiss In case of first show, there flag value is initialized, so show_signals_emit could be called normally. But dismiss ctxpopup and show again, that two value is set other value by dismiss function, so show_signals_emit is blocked Change-Id: I734c17fc9168a3f584513b47ea596fa38aacc70b Signed-off-by: Jinyong Park --- src/lib/elc_ctxpopup.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 80c9fc0..f4ca3a6 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -1052,6 +1052,14 @@ _on_show(void *data EINA_UNUSED, */ //elm_object_focus_set(sd->list, EINA_TRUE); + /* TIZEN_ONLY(20170410): add list_visible and emitted flag set value + if ctxpopup dismiss and show again, below two value set FALSE and TRUE, + so show_signals_emit is blocked + */ + sd->list_visible = EINA_TRUE; + sd->emitted = EINA_FALSE; + /* END */ + //TIZEN_ONLY(20160412): fix 'more' style size problem elm_layout_sizing_eval(obj); // -- 2.7.4