mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Undo commit e11b8c8. book-details links should appear in the special window (no search links, etc) even if in the current library. The LibraryBroker deals with not opening the database twice.
This might be worth a point release. See https://www.mobileread.com/forums/showthread.php?p=4312453#post4312453 and later.
This commit is contained in:
parent
4c0961c1c0
commit
24626ceb0d
@ -28,8 +28,6 @@ class ShowBookDetailsAction(InterfaceAction):
|
||||
library_path = kwargs.get('library_path', None)
|
||||
book_id = kwargs.get('book_id', None)
|
||||
library_id = kwargs.get('library_id', None)
|
||||
if library_path is not None and self.gui.library_broker.is_gui_library(library_path):
|
||||
library_path = library_id = None
|
||||
query = kwargs.get('query', None)
|
||||
index = self.gui.library_view.currentIndex()
|
||||
if self.gui.current_view() is not self.gui.library_view and not library_path:
|
||||
|
Loading…
x
Reference in New Issue
Block a user