aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7c3b835..1ca0e79 100644
--- a/main.c
+++ b/main.c
@@ -618,10 +618,10 @@ static bool run_key_handler(const char *key, unsigned int mask)
if (changed) {
img_close(&img, true);
load_image(fileidx);
- } else {
- open_info();
}
}
+ if (mode == MODE_THUMB || !changed)
+ open_info();
free(oldst);
reset_cursor();
return true;