From 137d53672ab38b2d42045f5fe0bff45f871633a2 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 2 Sep 2025 11:54:11 -0700 Subject: [PATCH] fix crop checkbox --- kindlecomicconverter/KCC_gui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index 5ebd8c5..a6b0262 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -254,6 +254,8 @@ class WorkerThread(QThread): options.cropping = 1 else: options.cropping = 2 + else: + options.cropping = 0 if GUI.croppingBox.checkState() != Qt.CheckState.Unchecked: options.croppingp = float(GUI.croppingPowerValue) options.preservemargin = GUI.preserveMarginBox.value() @@ -262,6 +264,8 @@ class WorkerThread(QThread): options.interpanelcrop = 1 else: options.interpanelcrop = 2 + else: + options.interpanelcrop = 0 if GUI.borderBox.checkState() == Qt.CheckState.PartiallyChecked: options.white_borders = True elif GUI.borderBox.checkState() == Qt.CheckState.Checked: