mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:43:51 +02:00
Fix bug #7423: author values showing '|' for comma when editing in library view
This commit is contained in:
parent
5217601f0c
commit
e754e399e9
1 changed files with 2 additions and 1 deletions
|
|
@ -389,7 +389,8 @@ def set_database(self, db):
|
|||
self.save_state()
|
||||
self._model.set_database(db)
|
||||
self.tags_delegate.set_database(db)
|
||||
self.authors_delegate.set_auto_complete_function(db.all_authors)
|
||||
self.authors_delegate.set_auto_complete_function(
|
||||
lambda: [(x, y.replace('|', ',')) for (x, y) in db.all_authors()])
|
||||
self.series_delegate.set_auto_complete_function(db.all_series)
|
||||
self.publisher_delegate.set_auto_complete_function(db.all_publishers)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue