From 21a11d8be1af155d0d1c8651c8e179158607c23e Mon Sep 17 00:00:00 2001 From: nova Date: Wed, 24 Sep 2025 23:14:20 +0200 Subject: [PATCH] fixed images not being flushed when going ontop of a directory --- threading.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/threading.c b/threading.c index 3952dd4..4ba28bd 100644 --- a/threading.c +++ b/threading.c @@ -157,6 +157,9 @@ void *thread_rgt(){ if (mid_content[selected_file_current].permissions & S_IRUSR) { if (file_current.file_type == FILE_TYPE_DIR || file_current.file_type == FILE_TYPE_SYMLINK) { + #if SETTINGS_UEBERZUG_IMAGE_PREVIEW != 0 + images_clear(); + #endif unsigned long i = 0; for (i = 0; i < rgt_file_count; i++) {