From 55ba87ac2fbb4f89ba1c877b821290d7563e51fa Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Sat, 23 Apr 2022 09:50:47 +0100 Subject: [PATCH] Bug fix #934: Request to add image bookmarking/tagging within a folder https://github.com/BestImageViewer/geeqie/issues/934 Check if image still exists. --- src/history_list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.20.1