This commit is contained in:
Kovid Goyal 2021-05-11 07:12:49 +05:30
parent eb251e0976
commit aaa60d85ba
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -954,7 +954,7 @@ class GridView(QListView):
m = self.model()
try:
index = m.db.row(book_id)
except (IndexError, ValueError, KeyError):
except (IndexError, ValueError, KeyError, AttributeError):
return
self.update(m.index(index, 0))