1
0
mirror of https://github.com/ciromattia/kcc synced 2026-04-25 10:28:58 +00:00

CBZ defaults to partially checked w/b borders (#1310)

This commit is contained in:
Alex Xu
2026-04-24 16:40:44 -07:00
committed by GitHub
parent 92c85c18e9
commit d5dde46989

View File

@@ -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()