diff options
author | NRK <nrk@disroot.org> | 2022-05-09 17:56:27 +0600 |
---|---|---|
committer | N-R-K <nrk@disroot.org> | 2022-05-19 11:44:30 +0000 |
commit | 3bf198ecd38fef4c00fb04d2e7def7a794d3236c (patch) | |
tree | 0919257a3de6aca3c43d2594a359d90f819f28c6 | |
parent | 633a4f66d98e46755effb71d6cd3f8a681c4818c (diff) |
fix: broken thumbnail statusbar after running keyhandler
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |