From a9650f2643b37c3bbfefbfc61011073e5017e5b3 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Fri, 7 Aug 2020 08:56:02 +0100 Subject: [PATCH] Sorry, I forgot to remove some commented out experimental code in the last commit. --- src/calibre/gui2/library/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/calibre/gui2/library/views.py b/src/calibre/gui2/library/views.py index e6b78f699f..e3887aad7b 100644 --- a/src/calibre/gui2/library/views.py +++ b/src/calibre/gui2/library/views.py @@ -609,8 +609,6 @@ class BooksView(QTableView): # {{{ w = gprefs.get('ondevice_column_width', 0) if w > 0: self.setColumnWidth(col, w) -# else: -# self.resizeColumnToContents(col) if self.is_library_view: self.pin_view.column_header.setSectionHidden(col, True)