mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6337 (Download cover and immediately click ok button)
This commit is contained in:
parent
15d0d84971
commit
898b61a55e
@ -677,6 +677,10 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog):
|
|||||||
|
|
||||||
|
|
||||||
def accept(self):
|
def accept(self):
|
||||||
|
cf = getattr(self, 'cover_fetcher', None)
|
||||||
|
if cf is not None and hasattr(cf, 'terminate'):
|
||||||
|
cf.terminate()
|
||||||
|
cf.wait()
|
||||||
try:
|
try:
|
||||||
if self.formats_changed:
|
if self.formats_changed:
|
||||||
self.sync_formats()
|
self.sync_formats()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user