diff --git a/src/calibre/gui2/actions/view.py b/src/calibre/gui2/actions/view.py index 04dee1c19b87..b4e795991645 100644 --- a/src/calibre/gui2/actions/view.py +++ b/src/calibre/gui2/actions/view.py @@ -326,6 +326,10 @@ def view_triggered(self, index): def view_specific_book(self, index): self._view_books([index]) + def view_specific_calibre_book(self, index): + ids = [self.gui.library_view.model().id(index)] + self._view_calibre_books(ids) + def view_random(self, *args): self.gui.iactions['Pick Random Book'].pick_random() self._view_books([self.gui.library_view.currentIndex()]) diff --git a/src/calibre/gui2/cover_flow.py b/src/calibre/gui2/cover_flow.py index 7fd9a6d04a02..c099d9e2937f 100644 --- a/src/calibre/gui2/cover_flow.py +++ b/src/calibre/gui2/cover_flow.py @@ -375,7 +375,7 @@ def __init__(self, *a, **kw): self.library_view.selectionModel().currentRowChanged.connect(self.sync_cf_to_listview) self.db_images = DatabaseImages(self.library_view.model(), self.is_cover_browser_visible) self.cover_flow.setImages(self.db_images) - self.cover_flow.itemActivated.connect(self.iactions['View'].view_specific_book) + self.cover_flow.itemActivated.connect(self.iactions['View'].view_specific_calibre_book) self.update_cover_flow_subtitle_font() button = self.cb_button if self.separate_cover_browser: