From 50652f63d99c9ff540fac4c72b0422660bdb3dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sun, 17 Aug 2014 16:31:16 +0200 Subject: [PATCH] Full redraw when removing files during thumbnail reloading; fixes issue #164 --- Makefile | 2 +- main.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e45482f..599a2b6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = git-20140816 +VERSION = git-20140817 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man diff --git a/main.c b/main.c index b3dba90..e5d31f9 100644 --- a/main.c +++ b/main.c @@ -684,6 +684,8 @@ void run(void) tns.cnt++; } else { remove_file(tns.loadnext, false); + if (reload) + tns.dirty = true; } while (tns.loadnext < filecnt && tns.thumbs[tns.loadnext].loaded) tns.loadnext++;