From: Colin Clark Date: Sat, 23 Apr 2022 08:50:47 +0000 (+0100) Subject: Bug fix #934: Request to add image bookmarking/tagging within a folder X-Git-Tag: gtk2final~21 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=55ba87ac2fbb4f89ba1c877b821290d7563e51fa Bug fix #934: Request to add image bookmarking/tagging within a folder https://github.com/BestImageViewer/geeqie/issues/934 Check if image still exists. --- diff --git a/src/history_list.c b/src/history_list.c index d9770bc9..e96b53fa 100644 --- a/src/history_list.c +++ b/src/history_list.c @@ -556,7 +556,10 @@ gchar *get_recent_viewed_folder_image(gchar *path) if (g_strcmp0(dirname, path) == 0) { - ret = g_strdup(work->data); + if (isfile(work->data)) + { + ret = g_strdup(work->data); + } g_free(dirname); break; }