elm ctxpopup: fix auto_hide mode to work correctly @fix 67/73367/2
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 8 Jun 2016 01:47:29 +0000 (10:47 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 8 Jun 2016 02:16:42 +0000 (19:16 -0700)
Change-Id: I3c1b9574138f336ff1c969599c6131ee190ed2fe

src/lib/elc_ctxpopup.c

index 50d4550..77295b5 100644 (file)
@@ -989,7 +989,8 @@ _bg_clicked_cb(void *data,
 {
    ELM_CTXPOPUP_DATA_GET(data, sd);
 
-   _hide_signals_emit(data, sd->dir);
+   if (sd->auto_hide)
+     _hide_signals_emit(data, sd->dir);
 }
 
 static void