summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-08-17 16:31:16 +0200
committerBert Münnich <ber.t@posteo.de>2014-08-17 16:31:16 +0200
commit50652f63d99c9ff540fac4c72b0422660bdb3dab (patch)
tree130548a99920158c5a9cc5a0f417f50c1cfb9c0f
parente49d38d6f947b11570627b7354641e03f9200cef (diff)
downloadnsxiv-50652f63d99c9ff540fac4c72b0422660bdb3dab.tar.zst
Full redraw when removing files during thumbnail reloading; fixes issue #164
-rw-r--r--Makefile2
-rw-r--r--main.c2
2 files changed, 3 insertions, 1 deletions
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++;