Release v0.2.3
This commit is contained in:
@@ -138,8 +138,10 @@ class ThumbnailList(QListWidget):
|
||||
self.page_selected.emit(page_index)
|
||||
|
||||
def _render_next_thumbnail(self) -> None:
|
||||
if not self.document or not self._thumbnail_queue:
|
||||
if not self.document or not self.document.is_open or not self._thumbnail_queue:
|
||||
self._thumbnail_timer.stop()
|
||||
self._thumbnail_queue.clear()
|
||||
self._queued_pages.clear()
|
||||
return
|
||||
|
||||
page_index = self._thumbnail_queue.popleft()
|
||||
|
||||
Reference in New Issue
Block a user