Fix page label not updating when loading from cache

This commit is contained in:
pax 2026-04-05 13:28:15 -05:00
parent 63292aa9ba
commit 78b7215467

View File

@ -683,6 +683,7 @@ class BooruApp(QMainWindow):
self._run_async(_search)
def _on_search_done(self, posts: list) -> None:
self._page_label.setText(f"Page {self._current_page}")
self._posts = posts
# Cache page results and track shown IDs
if not hasattr(self, '_shown_post_ids'):