diff --git a/src/calibre/gui2/convert/debug.py b/src/calibre/gui2/convert/debug.py
index b382f567fd..49bd3624bf 100644
--- a/src/calibre/gui2/convert/debug.py
+++ b/src/calibre/gui2/convert/debug.py
@@ -27,10 +27,6 @@ class DebugWidget(Widget, Ui_Form):
self.db, self.book_id = db, book_id
self.initialize_options(get_option, get_help, db, book_id)
self.button_debug_dir.clicked.connect(self.set_debug_dir)
- self.button_clear.clicked.connect(self.clear_debug_dir)
-
- def clear_debug_dir(self):
- self.opt_debug_pipeline.setText('')
def set_debug_dir(self):
x = choose_dir(self, 'conversion debug dir', _('Choose debug folder'))
diff --git a/src/calibre/gui2/convert/debug.ui b/src/calibre/gui2/convert/debug.ui
index a6db339844..3e3fb7f638 100644
--- a/src/calibre/gui2/convert/debug.ui
+++ b/src/calibre/gui2/convert/debug.ui
@@ -14,24 +14,7 @@
Form
- -
-
-
- Choose a folder to put the debug output into. If you specify a folder, calibre will place a lot of debug output into it. This will be useful in understanding the conversion process and figuring out the correct values for conversion parameters like Table of Contents and Chapter Detection.
-
-
- true
-
-
-
- -
-
-
- true
-
-
-
- -
+
-
Choose debug folder
@@ -40,7 +23,7 @@
...
-
+
:/images/document_open.png:/images/document_open.png
@@ -58,14 +41,13 @@
- -
-
+
-
+
- ...
+ Choose a folder to put the debug output into. If you specify a folder, calibre will place a lot of debug output into it. This will be useful in understanding the conversion process and figuring out the correct values for conversion parameters like Table of Contents and Chapter Detection.
-
-
- :/images/clear_left.png:/images/clear_left.png
+
+ true
@@ -79,10 +61,20 @@
+ -
+
+
+ true
+
+
+ true
+
+
+
-
+