mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 05:25:05 +01:00
Fix #1516 (Adding Books dialog never disappears)
This commit is contained in:
parent
c9177f4658
commit
5744dd1a31
1 changed files with 1 additions and 0 deletions
|
|
@ -703,6 +703,7 @@ def _add_books(self, paths, to_device, on_card=None):
|
|||
self.upload_books(paths, list(map(sanitize_file_name, names)), infos, on_card=on_card)
|
||||
finally:
|
||||
progress.setValue(len(paths))
|
||||
progress.close()
|
||||
|
||||
def upload_books(self, files, names, metadata, on_card=False, memory=None):
|
||||
'''
|
||||
|
|
|
|||
Loading…
Reference in a new issue