fix: broken thumbnail statusbar after running keyhandler

This commit is contained in:
NRK 2022-05-09 17:56:27 +06:00 committed by N-R-K
parent 633a4f66d9
commit 3bf198ecd3

4
main.c
View File

@ -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;