Full redraw when removing files during thumbnail reloading; fixes issue #164
This commit is contained in:
parent
e49d38d6f9
commit
50652f63d9
2
Makefile
2
Makefile
|
@ -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
2
main.c
|
@ -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++;
|
||||||
|
|
Loading…
Reference in a new issue