Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 16, 2015
1 parent 942c741 commit c510fdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/calibre/gui2/tweak_book/editor/insert_resource.py
Expand Up @@ -150,6 +150,9 @@ def build(self):
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()
Expand Down

0 comments on commit c510fdc

Please sign in to comment.