mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
eb251e0976
commit
aaa60d85ba
@ -954,7 +954,7 @@ class GridView(QListView):
|
|||||||
m = self.model()
|
m = self.model()
|
||||||
try:
|
try:
|
||||||
index = m.db.row(book_id)
|
index = m.db.row(book_id)
|
||||||
except (IndexError, ValueError, KeyError):
|
except (IndexError, ValueError, KeyError, AttributeError):
|
||||||
return
|
return
|
||||||
self.update(m.index(index, 0))
|
self.update(m.index(index, 0))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user