forked from enlightenment/efl
efl_ui/table: handle case where table has no items
Summary: CID 1399086 Depends on D10207 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10208
This commit is contained in:
parent
b2165b8921
commit
f7befea043
|
@ -120,6 +120,11 @@ _efl_ui_table_homogeneous_cell_init(Table_Calc *table_calc, Eina_Bool axis)
|
|||
|
||||
prev_cell = &cell_calc[i];
|
||||
}
|
||||
if (!index)
|
||||
{
|
||||
memset(table_calc, 0, sizeof(Table_Calc));
|
||||
return;
|
||||
}
|
||||
if (prev_cell)
|
||||
prev_cell->next = count;
|
||||
|
||||
|
|
Loading…
Reference in New Issue