forked from enlightenment/enlightenment
Fix occasional problem that caused a shelf reload from config dialog to
reload the wrong shelf. It is possible to have shelf->id = 0 for first shelf, so don't use list count for that one. SVN revision: 24227
This commit is contained in:
parent
2799e70b06
commit
04ac95cee8
|
@ -141,7 +141,7 @@ e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, int popup, i
|
|||
evas_object_layer_set(es->o_event, layer);
|
||||
evas_object_layer_set(es->o_base, layer);
|
||||
}
|
||||
if (id <= 0)
|
||||
if (id < 0)
|
||||
es->id = evas_list_count(shelves);
|
||||
else
|
||||
es->id = id;
|
||||
|
|
Loading…
Reference in New Issue