From 95c5f41301df919363bbacc349bb470b656845fe Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Wed, 20 Jan 2016 09:21:27 -0600 Subject: [PATCH] Ephoto: Don't clear entries if populating directories only. --- src/bin/ephoto_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index cdd3fb6..e12d6f5 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -438,7 +438,7 @@ _ephoto_populate_entries(Ephoto_Dir_Data *ed) if (ed->thumbs_only) EINA_LIST_FREE(ed->ephoto->entries, entry) ephoto_entry_free(entry->ephoto, entry); - else + else if (!ed->dirs_only) ephoto_entries_free(ed->ephoto); ed->ephoto->ls =