From eaa269b6cb486f83229cb0d3dc5f7e03d1c485bb Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 25 Sep 2014 20:57:24 +0200 Subject: Revised thumbnail loading... - Only load the thumbnails that are currently visible in the window - Unload thumbnails that are leaving the visible area - Much less memory needed, but scrolling is now slower - This also unintentionally fixes issue #86 --- commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index db73524..6761946 100644 --- a/commands.c +++ b/commands.c @@ -470,7 +470,8 @@ bool ct_reload_all(arg_t a) { tns_free(&tns); tns_init(&tns, files, filecnt, &fileidx, &win); - return false; + tns.dirty = true; + return true; } -- cgit v1.2.3-54-g00ecf