Skip to content
Snippets Groups Projects
Commit 017b13bc authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Merge branch 'Ferada-fix-no-files-found-on-reload'

parents e6a53509 c0a55051
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,10 @@ void cb_reload_timer(void *data)
add_file_to_filelist_recursively(l->data, FILELIST_FIRST);
else if (!opt.filelistfile && !opt.bgmode)
add_file_to_filelist_recursively(".", FILELIST_FIRST);
if (opt.filelistfile) {
filelist = gib_list_cat(filelist, feh_read_filelist(opt.filelistfile));
}
if (!(filelist_len = gib_list_length(filelist))) {
eprintf("No files found to reload.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment