diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index 43cf5772f6..c22d24a6a7 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -105,7 +105,7 @@ bool_custom_columns_are_tristate = 'yes' # title within authors. sort_columns_at_startup = None -#; Control how dates are displayed +#: Control how dates are displayed # Format to be used for publication date and the timestamp (date). # A string controlling how the publication date is displayed in the GUI # d the day as number without a leading zero (1 to 31) diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index 2a203f8b08..e839ed4b9c 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -123,7 +123,7 @@ class BooksModel(QAbstractTableModel): # {{{ def refresh_ondevice(self): self.db.refresh_ondevice() - self.resort() #self.refresh() # does a resort() + self.resort() self.research() def set_book_on_device_func(self, func):