mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4a13c31aca
commit
f4f6d4d728
@ -184,7 +184,6 @@ class CustomColumns(object):
|
||||
if name is not None:
|
||||
self.conn.execute('UPDATE custom_columns SET name=? WHERE id=?',
|
||||
(name, num))
|
||||
self.custom_column_num_map[num]['name'] = name
|
||||
changed = True
|
||||
if label is not None:
|
||||
self.conn.execute('UPDATE custom_columns SET label=? WHERE id=?',
|
||||
@ -198,7 +197,6 @@ class CustomColumns(object):
|
||||
if display is not None:
|
||||
self.conn.execute('UPDATE custom_columns SET display=? WHERE id=?',
|
||||
(json.dumps(display), num))
|
||||
self.custom_column_num_map[num]['display'] = display
|
||||
changed = True
|
||||
|
||||
if changed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user