Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Nov 11, 2021
1 parent 0e9b1c5 commit c75a9f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/calibre/gui2/tweak_book/boss.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,11 @@ def transform_html(self):
from calibre.ebooks.html_transform_rules import transform_container
d = RulesDialog(self.gui)
d.rules = last_used_html_transform_rules
d.transform_scope = scope = tprefs['html_transform_scope']
d.transform_scope = tprefs['html_transform_scope']
ret = d.exec_()
last_used_html_transform_rules = d.rules
tprefs.set('html_transform_scope', d.transform_scope)
scope = d.transform_scope
tprefs.set('html_transform_scope', scope)
if ret != QDialog.DialogCode.Accepted:
return

Expand Down

0 comments on commit c75a9f7

Please sign in to comment.