Fix page label not updating when loading from cache
This commit is contained in:
parent
63292aa9ba
commit
78b7215467
@ -683,6 +683,7 @@ class BooruApp(QMainWindow):
|
|||||||
self._run_async(_search)
|
self._run_async(_search)
|
||||||
|
|
||||||
def _on_search_done(self, posts: list) -> None:
|
def _on_search_done(self, posts: list) -> None:
|
||||||
|
self._page_label.setText(f"Page {self._current_page}")
|
||||||
self._posts = posts
|
self._posts = posts
|
||||||
# Cache page results and track shown IDs
|
# Cache page results and track shown IDs
|
||||||
if not hasattr(self, '_shown_post_ids'):
|
if not hasattr(self, '_shown_post_ids'):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user