Full redraw when removing files during thumbnail reloading; fixes issue #164

This commit is contained in:
Bert Münnich 2014-08-17 16:31:16 +02:00
parent e49d38d6f9
commit 50652f63d9
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
VERSION = git-20140816 VERSION = git-20140817
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man

2
main.c
View file

@ -684,6 +684,8 @@ void run(void)
tns.cnt++; tns.cnt++;
} else { } else {
remove_file(tns.loadnext, false); remove_file(tns.loadnext, false);
if (reload)
tns.dirty = true;
} }
while (tns.loadnext < filecnt && tns.thumbs[tns.loadnext].loaded) while (tns.loadnext < filecnt && tns.thumbs[tns.loadnext].loaded)
tns.loadnext++; tns.loadnext++;