Start prefetch from top on search, re-centers on post click
This commit is contained in:
parent
e91d7d8a51
commit
396c008e9f
@ -729,6 +729,10 @@ class BooruApp(QMainWindow):
|
||||
|
||||
self._grid.setFocus()
|
||||
|
||||
# Start prefetching from top of page
|
||||
if self._db.get_setting_bool("prefetch_adjacent") and posts:
|
||||
self._prefetch_adjacent(0)
|
||||
|
||||
def _fetch_thumbnail(self, index: int, url: str) -> None:
|
||||
async def _download():
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user