commit b805c629c70701bb49dbd89d6a0cb6277a8ed7fa
parent 664f2e403a2202f42e7f8dbf5ed309370fb11984
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 20 Jul 2020 19:51:49 +0200
on reload all always close and reopen the current feed (if its a path)
Fixes/improves upon a regression from an optimization in
d4a647803cc05e8f81c14e15347c908c8c856b5c
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1248,6 +1248,7 @@ feeds_reloadall(void)
pos = panes[PaneItems].pos; /* store numeric position */
readurls();
+ feeds_set(curfeed); /* close and reopen feed if possible */
feeds_load(feeds, nfeeds);
/* restore numeric position */
pane_setpos(&panes[PaneItems], pos);