mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug #1251768 by allowing case changes when editing any text-based custom column directly on the spreadsheet.
This commit is contained in:
parent
b1652a2316
commit
4d6a88234b
@ -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