diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 435f63aa8d..a99761940c 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -375,6 +375,8 @@ class Boss(QObject): self.apply_container_update_to_gui() from calibre.ebooks.markdown import markdown report = markdown('# %s\n\n'%self.current_metadata.title + '\n\n'.join(report), output_format='html4') + if not changed: + self.rewind_savepoint() d = QDialog(self.gui) d.l = QVBoxLayout() d.setLayout(d.l)