mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
8aa7031c9e
commit
1c54f129a7
@ -361,6 +361,7 @@ class BooksModel(QAbstractTableModel): # {{{
|
|||||||
self.cover_cache.set_cache(ids)
|
self.cover_cache.set_cache(ids)
|
||||||
|
|
||||||
def current_changed(self, current, previous, emit_signal=True):
|
def current_changed(self, current, previous, emit_signal=True):
|
||||||
|
if current.isValid():
|
||||||
idx = current.row()
|
idx = current.row()
|
||||||
self.set_cache(idx)
|
self.set_cache(idx)
|
||||||
data = self.get_book_display_info(idx)
|
data = self.get_book_display_info(idx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user