From 8f345212da4d3c0289e54babd2b01cd4bf4fd767 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 15 Jan 2011 14:32:20 -0500 Subject: [PATCH] Fix issue with disabling checkbox. --- src/calibre/gui2/convert/heuristics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/convert/heuristics.py b/src/calibre/gui2/convert/heuristics.py index 904804f32e..525d5ba2f1 100644 --- a/src/calibre/gui2/convert/heuristics.py +++ b/src/calibre/gui2/convert/heuristics.py @@ -53,7 +53,7 @@ class HeuristicsWidget(Widget, Ui_Form): self.opt_delete_blank_paragraphs.setEnabled(state) self.opt_format_scene_breaks.setEnabled(state) self.opt_dehyphenate.setEnabled(state) - self.opt_renumber_headings(state) + self.opt_renumber_headings.setEnabled(state) self.opt_unwrap_lines.setEnabled(state) if state and self.opt_unwrap_lines.checkState() == Qt.Checked: