efl_ui/layout: fix part aliasing for non-legacy widgets
authorMike Blumenkrantz <zmike@samsung.com>
Mon, 23 Sep 2019 19:20:07 +0000 (15:20 -0400)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 24 Sep 2019 21:50:43 +0000 (06:50 +0900)
if a non-null value is passed here, this needs to actually evaluate
all the part aliases

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10091

src/lib/elementary/efl_ui_layout.c

index b94c2a9..590b107 100644 (file)
@@ -822,8 +822,8 @@ _elm_layout_part_aliasing_eval(const Evas_Object *obj,
                *part = efl_ui_default_text;
              else
                *part = efl_ui_default_content;
+             return EINA_TRUE;
           }
-        return EINA_TRUE;
      }
 
    if (is_text)