Fix for bug #5725 -- changing title. The code tried to set title_sorter, which is a dynamic property. There is no reason to do this, as the property returns the title.

This commit is contained in:
Charles Haley 2010-06-06 21:43:45 +01:00
parent 6717e421c8
commit ebec935f3e

View File

@ -1089,7 +1089,6 @@ class DeviceBooksModel(BooksModel): # {{{
idx = self.map[row] idx = self.map[row]
if cname == 'title' : if cname == 'title' :
self.db[idx].title = val self.db[idx].title = val
self.db[idx].title_sorter = val
elif cname == 'authors': elif cname == 'authors':
self.db[idx].authors = string_to_authors(val) self.db[idx].authors = string_to_authors(val)
elif cname == 'collections': elif cname == 'collections':