From 4d6a88234b4ae582a1191bfce13393ccd11ccd66 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Mon, 18 Nov 2013 13:04:48 +0100 Subject: [PATCH] Fix bug #1251768 by allowing case changes when editing any text-based custom column directly on the spreadsheet. --- src/calibre/gui2/library/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index d804e52dfb..45fcd0ab36 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -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