forked from enlightenment/efl
Edje: Fix crash in E clock: invalid source string
This fixes on top of 49a27688b1
, which
assumed somehow that table items had names, although that
might not be the case. In my situation, name = NULL and there
was a crash everytime I clicked on the clock widget.
This commit is contained in:
parent
62caefdf0e
commit
59ead67aa1
|
@ -2233,7 +2233,8 @@ _cb_signal_repeat(void *data, Evas_Object *obj, const char *sig, const char *sou
|
|||
if (ed->parent && length_index)
|
||||
{
|
||||
new_src[length_parent++] = EDJE_PART_PATH_SEPARATOR_INDEXL;
|
||||
if (pack_it->parent->part->type == EDJE_PART_TYPE_BOX)
|
||||
if ((pack_it->parent->part->type == EDJE_PART_TYPE_BOX) ||
|
||||
(!name && (pack_it->parent->part->type == EDJE_PART_TYPE_TABLE)))
|
||||
length_parent += eina_convert_itoa(i, new_src + length_parent);
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue