mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix editing custom column values in the book list not allowing change of case. Fixes #1251768 [[Glitch] Case change in library list cell](https://bugs.launchpad.net/calibre/+bug/1251768)
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
75b77e9440
@ -1004,7 +1004,8 @@ class BooksModel(QAbstractTableModel): # {{{
|
||||
id = self.db.id(row)
|
||||
books_to_refresh = set([id])
|
||||
books_to_refresh |= self.db.set_custom(id, val, extra=s_index,
|
||||
label=label, num=None, append=False, notify=True)
|
||||
label=label, num=None, append=False, notify=True,
|
||||
allow_case_change=True)
|
||||
self.refresh_ids(list(books_to_refresh), current_row=row)
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user