diff --git a/src/calibre/gui2/convert/toc.py b/src/calibre/gui2/convert/toc.py index d86c8333c9..8dc0b9e89c 100644 --- a/src/calibre/gui2/convert/toc.py +++ b/src/calibre/gui2/convert/toc.py @@ -18,7 +18,7 @@ class TOCWidget(Widget, Ui_Form): HELP = _('Control the creation/conversion of the Table of Contents.') def __init__(self, parent, get_option, get_help, db=None, book_id=None): - Widget.__init__(self, parent, 'structure_detection', + Widget.__init__(self, parent, 'toc', ['level1_toc', 'level2_toc', 'level3_toc', 'toc_threshold', 'max_toc_links', 'no_chapters_in_toc', 'use_auto_toc', 'toc_filter',