Cover browser: Clicking on the central cover now opens that book in the viewer

This commit is contained in:
Kovid Goyal 2010-07-03 11:50:38 -06:00
parent 04b260c468
commit e151e3a1d5
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@
- title: "MOBI Output: Fix a memory leak and a crash in the palmdoc compression routine" - title: "MOBI Output: Fix a memory leak and a crash in the palmdoc compression routine"
- title: "Metadata download: Fix a regressiont at resulted in a failed download for some books" - title: "Metadata download: Fix a regression that resulted in a failed download for some books"
new recipes: new recipes:
- title: "Foreign Policy and Alo!" - title: "Foreign Policy and Alo!"

View File

@ -115,6 +115,7 @@ class CoverFlowMixin(object):
self.sync_cf_to_listview) self.sync_cf_to_listview)
self.db_images = DatabaseImages(self.library_view.model()) self.db_images = DatabaseImages(self.library_view.model())
self.cover_flow.setImages(self.db_images) self.cover_flow.setImages(self.db_images)
self.cover_flow.itemActivated.connect(self.view_specific_book)
else: else:
self.cover_flow = QLabel('<p>'+_('Cover browser could not be loaded') self.cover_flow = QLabel('<p>'+_('Cover browser could not be loaded')
+'<br>'+pictureflowerror) +'<br>'+pictureflowerror)