mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit metadata dialog: When downloading metadata with download of authors turned off, do not regenerate the author sort field after the download. Fixes #1510335 ["Author Sort" corrupted when using "Download metadata"](https://bugs.launchpad.net/calibre/+bug/1510335)
This commit is contained in:
parent
2e4927d02e
commit
b5b681d525
@ -421,7 +421,7 @@ class MetadataSingleDialogBase(ResizableDialog):
|
||||
self.authors.set_value(mi.authors)
|
||||
if not mi.is_null('author_sort'):
|
||||
self.author_sort.set_value(mi.author_sort)
|
||||
elif update_sorts:
|
||||
elif update_sorts and not mi.is_null('authors'):
|
||||
self.author_sort.auto_generate()
|
||||
if not mi.is_null('rating'):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user