Books list: Fix column alignment incorrectly propagating when changing libraries

Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
Kovid Goyal 2015-02-21 09:04:17 +05:30
commit 7369a09dba

View File

@ -256,6 +256,7 @@ class BooksModel(QAbstractTableModel): # {{{
def set_database(self, db):
self.ids_to_highlight = []
self.alignment_map = {}
self.ids_to_highlight_set = set()
self.current_highlighted_idx = None
self.db = db