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

6
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 {
}
}
if (mode == MODE_THUMB || !changed)
open_info();
}
}
free(oldst);
reset_cursor();
return true;