mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-08 18:22:08 -04:00
Ignore shutdown error on re-render
This commit is contained in:
parent
3e5e170156
commit
d3e78c3fdd
@ -536,8 +536,11 @@ class VirtualCardContainer(QWidget):
|
||||
else:
|
||||
w = self._create_card_widget()
|
||||
if not card.cover_requested:
|
||||
self.cover_render_queue.put((card.results.book_id, idx))
|
||||
card.cover_requested = True
|
||||
try:
|
||||
self.cover_render_queue.put((card.results.book_id, idx))
|
||||
card.cover_requested = True
|
||||
except ShutDown:
|
||||
pass
|
||||
w.bind(card)
|
||||
w.setGeometry(card.x, card.y, card.width, card.height)
|
||||
w.show()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user