Krolyxon
Commit dd0b3cb

Branches

Refs →

nsxivdd0b3cb

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.
Author
NRK
Date
2022-07-26 07:20 +0200
Parent
7893872
Commit
dd0b3cb163c7b64ee630b2e71d6c96ce5918f1e0

+3 −1

1 file changed

  1. M main.c +3 −1
M main.c View
@@ -720,8 +720,10 @@ static void run(void)
720720 remove_file(tns.loadnext, false);
721721 tns.dirty = true;
722722 }
723− if (tns.loadnext >= tns.end)
723+ if (tns.loadnext >= tns.end) {
724+ open_info();
724725 redraw();
726+ }
725727 } else if (init_thumb) {
726728 set_timeout(redraw, TO_REDRAW_THUMBS, false);
727729 if (!tns_load(&tns, tns.initnext, false, true))