mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9a9530f34b
commit
587d83b0d1
@ -305,6 +305,8 @@ class ResultsView(QTableView): # {{{
|
||||
self.show_details_signal.emit(''.join(parts))
|
||||
|
||||
def select_index(self, index):
|
||||
if self.model() is None:
|
||||
return
|
||||
if not index.isValid():
|
||||
index = self.model().index(0, 0)
|
||||
book = self.model().data(index, Qt.UserRole)
|
||||
|
Loading…
x
Reference in New Issue
Block a user