fix: stale statusbar when started in thumbnail mode (#341)
this was one of the cases which got missed in 591be8c
, if someone starts
with `-t` the statusbar will remain at "Loading ...". Once we're done
loading all the thumbnail, make sure to open_info() so that `thumb-info`
gets called.
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/341
Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
This commit is contained in:
parent
78938721a4
commit
dd0b3cb163
4
main.c
4
main.c
@ -720,8 +720,10 @@ static void run(void)
|
||||
remove_file(tns.loadnext, false);
|
||||
tns.dirty = true;
|
||||
}
|
||||
if (tns.loadnext >= tns.end)
|
||||
if (tns.loadnext >= tns.end) {
|
||||
open_info();
|
||||
redraw();
|
||||
}
|
||||
} else if (init_thumb) {
|
||||
set_timeout(redraw, TO_REDRAW_THUMBS, false);
|
||||
if (!tns_load(&tns, tns.initnext, false, true))
|
||||
|
Loading…
Reference in New Issue
Block a user