mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
c2cdd80f05
@ -28,8 +28,6 @@ class ShowBookDetailsAction(InterfaceAction):
|
|||||||
library_path = kwargs.get('library_path', None)
|
library_path = kwargs.get('library_path', None)
|
||||||
book_id = kwargs.get('book_id', None)
|
book_id = kwargs.get('book_id', None)
|
||||||
library_id = kwargs.get('library_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)
|
query = kwargs.get('query', None)
|
||||||
index = self.gui.library_view.currentIndex()
|
index = self.gui.library_view.currentIndex()
|
||||||
if self.gui.current_view() is not self.gui.library_view and not library_path:
|
if self.gui.current_view() is not self.gui.library_view and not library_path:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user