forked from enlightenment/ephoto
Ephoto: Don't clear entries if populating directories only.
This commit is contained in:
parent
8a183065b7
commit
95c5f41301
|
@ -438,7 +438,7 @@ _ephoto_populate_entries(Ephoto_Dir_Data *ed)
|
||||||
if (ed->thumbs_only)
|
if (ed->thumbs_only)
|
||||||
EINA_LIST_FREE(ed->ephoto->entries, entry)
|
EINA_LIST_FREE(ed->ephoto->entries, entry)
|
||||||
ephoto_entry_free(entry->ephoto, entry);
|
ephoto_entry_free(entry->ephoto, entry);
|
||||||
else
|
else if (!ed->dirs_only)
|
||||||
ephoto_entries_free(ed->ephoto);
|
ephoto_entries_free(ed->ephoto);
|
||||||
|
|
||||||
ed->ephoto->ls =
|
ed->ephoto->ls =
|
||||||
|
|
Loading…
Reference in New Issue