mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
942c741662
commit
c510fdc2c6
@ -150,6 +150,9 @@ class Images(QAbstractListModel):
|
||||
self.image_names.append(name)
|
||||
|
||||
def refresh(self):
|
||||
from calibre.gui2.tweak_book.boss import get_boss
|
||||
boss = get_boss()
|
||||
boss.commit_all_editors_to_container()
|
||||
self.beginResetModel()
|
||||
self.build()
|
||||
self.endResetModel()
|
||||
|
Loading…
x
Reference in New Issue
Block a user