From 9845f5847e1215d63d5c834fd0aadaf5b00a8ee9 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 27 Jun 2009 15:22:24 -0400 Subject: [PATCH] Fix bug #2727: Structure detection settings not being saved. --- src/calibre/gui2/convert/toc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',