fix: broken thumbnail statusbar after running keyhandler
This commit is contained in:
parent
633a4f66d9
commit
3bf198ecd3
4
main.c
4
main.c
|
@ -618,10 +618,10 @@ static bool run_key_handler(const char *key, unsigned int mask)
|
||||||
if (changed) {
|
if (changed) {
|
||||||
img_close(&img, true);
|
img_close(&img, true);
|
||||||
load_image(fileidx);
|
load_image(fileidx);
|
||||||
} else {
|
|
||||||
open_info();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (mode == MODE_THUMB || !changed)
|
||||||
|
open_info();
|
||||||
free(oldst);
|
free(oldst);
|
||||||
reset_cursor();
|
reset_cursor();
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue