int sel = 1;
+ if (!it) return;
+
obj = it->obj;
if (it->obj == NULL)
{
// unpack base item
if (it->order > 0)
{
- elm_table_unpack(wd->box, it->base);
+ if (it->base)
+ elm_table_unpack(wd->box, it->base);
sel = it->sel;
EINA_LIST_FOREACH(wd->items, l, item)
{
{
if (item->order > it->order)
{
- elm_table_unpack(wd->box, item->base);
+ if (item->base)
+ elm_table_unpack(wd->box, item->base);
item->order -= sel;
if(!wd->vertical)
elm_table_pack(wd->box, item->base, item->order - 1, 0, item->sel, 1);