elc_popup: modified theme set logic correctly when button is removed 77/215377/3
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 7 Oct 2019 12:18:55 +0000 (21:18 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 7 Oct 2019 12:25:28 +0000 (12:25 +0000)
Change-Id: Iae86c4d72425e33e1b32946d219de600bae6d86e

src/lib/elementary/elc_popup.c

index 3dec918..f351f3c 100644 (file)
@@ -993,7 +993,7 @@ _button_remove(Evas_Object *obj,
         for (i = 0 ; i < STYLE_PRIORITY_COUNT; i++)
           {
              snprintf(style, sizeof(style), STYLE_PRIORITY[i], elm_widget_style_get(obj));
-             if (efl_ui_layout_theme_set(sd->action_area, "popup", buf, style) != EFL_UI_THEME_APPLY_ERROR_NONE)
+             if (efl_ui_layout_theme_set(sd->action_area, "popup", buf, style) != EFL_UI_THEME_APPLY_ERROR_GENERIC)
                break;
           }
         if (i == STYLE_PRIORITY_COUNT)