mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix editing the authors via the book list not respecting the tweak to control author name splitting
This commit is contained in:
parent
64d3ed4c26
commit
58dc106004
@ -1161,6 +1161,8 @@ class BooksModel(QAbstractTableModel): # {{{
|
|||||||
val = val.split(',')
|
val = val.split(',')
|
||||||
self.db.set_languages(id, val)
|
self.db.set_languages(id, val)
|
||||||
else:
|
else:
|
||||||
|
if column == 'authors' and val:
|
||||||
|
val = authors_to_string(string_to_authors(val))
|
||||||
books_to_refresh |= self.db.set(row, column, val,
|
books_to_refresh |= self.db.set(row, column, val,
|
||||||
allow_case_change=True)
|
allow_case_change=True)
|
||||||
self.refresh_ids(list(books_to_refresh), row)
|
self.refresh_ids(list(books_to_refresh), row)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user