rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=aabaf6d0364052174ee0ee7899cc78e001d51aac

commit aabaf6d0364052174ee0ee7899cc78e001d51aac
Author: Vitalii Vorobiov <[email protected]>
Date:   Fri Oct 7 18:43:12 2016 +0300

    property_group: for program do not move label for after and target lists
    
    Fixes T4584
---
 src/bin/ui/property/property_group.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 34c4f87..3ccf9c2 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -1609,7 +1609,7 @@ _afters_get(Property_Attribute *pa __UNUSED__)
    EINA_LIST_FOREACH(afters, l, name)
      {
         new_pa = mem_calloc(1, sizeof(Property_Attribute));
-        if (!name)
+        if (i == 0)
           new_pa->name = eina_stringshare_add("add new after");
         new_pa->del_cb = _del_cb;
         new_pa->data = (void *)eina_stringshare_add(name);
@@ -1709,7 +1709,7 @@ _targets_get(Property_Attribute *pa __UNUSED__)
    EINA_LIST_FOREACH(targets, l, name)
      {
         new_pa = mem_calloc(1, sizeof(Property_Attribute));
-        if (!name)
+        if (i == 0)
           new_pa->name = eina_stringshare_add("add new target");
         new_pa->del_cb = _del_cb;
         new_pa->data = (void *)eina_stringshare_add(name);

-- 


Reply via email to