mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a4b4e854a1
commit
525a6bc7d1
@ -487,4 +487,4 @@ class AddAction(InterfaceAction):
|
||||
if ok_paths:
|
||||
from calibre.gui2.add import Adder
|
||||
callback = partial(self._add_from_device_adder, on_card=None, model=view.model())
|
||||
Adder(ok_paths, db=None, parent=self.gui, callback=callback, pool=self.gui.spare_pool())
|
||||
Adder(ok_paths, db=self.gui.current_db, parent=self.gui, callback=callback, pool=self.gui.spare_pool())
|
||||
|
@ -430,6 +430,3 @@ class Adder(QObject):
|
||||
@property
|
||||
def number_of_books_added(self):
|
||||
return len(self.added_book_ids)
|
||||
|
||||
# TODO: Test direct add of books to device
|
||||
# TODO: Test adding form device to library
|
||||
|
Loading…
x
Reference in New Issue
Block a user