mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
df6ddce8a2
commit
1b1715b8fe
@ -44,7 +44,7 @@ class DBCheck(QDialog): # {{{
|
||||
self.rejected = False
|
||||
|
||||
def start(self):
|
||||
t = self.thread = Thread(target=self.vacuum, daemon=True)
|
||||
t = self.thread = Thread(target=self.vacuum, daemon=True, name='VacuumDB')
|
||||
t.start()
|
||||
|
||||
def vacuum(self):
|
||||
|
@ -312,7 +312,7 @@ class BooksModel(QAbstractTableModel): # {{{
|
||||
if font_type != 'normal':
|
||||
self.styled_columns[colname] = getattr(self, f'{font_type}_font')
|
||||
old[colname] = font_type
|
||||
self.db.new_api.set_pref('styled_columns', old)
|
||||
db.set_pref('styled_columns', old)
|
||||
col = self.column_map.index(colname)
|
||||
for row in range(self.rowCount(QModelIndex())):
|
||||
self.dataChanged.emit(self.index(row, col), self.index(row,
|
||||
|
Loading…
x
Reference in New Issue
Block a user