From d5dde46989f56a75607496fe5ea3ef1505002ed2 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 24 Apr 2026 16:40:44 -0700 Subject: [PATCH] CBZ defaults to partially checked w/b borders (#1310) --- kindlecomicconverter/KCC_gui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index ca714ac..f984801 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -950,6 +950,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow): GUI.chunkSizeCheckBox.setEnabled(True) if GUI.formats[str(GUI.formatBox.currentText())]['format'] in ('CBZ', 'PDF') and not GUI.webtoonBox.isChecked(): self.addMessage("Partially check W/B Margins if you don't want KCC to extend the image margins.", 'info') + GUI.borderBox.setCheckState(Qt.CheckState.PartiallyChecked) + else: + GUI.borderBox.setCheckState(Qt.CheckState.Unchecked) def stripTags(self, html): s = HTMLStripper()