mirror of
https://github.com/ciromattia/kcc
synced 2026-07-03 03:25:27 +00:00
Fixed GUI logic
This commit is contained in:
+4
-1
@@ -833,7 +833,7 @@ class KCCGUI(KCC_ui.Ui_KCC):
|
|||||||
else:
|
else:
|
||||||
tmpFormat = 0
|
tmpFormat = 0
|
||||||
GUI.FormatBox.setCurrentIndex(tmpFormat)
|
GUI.FormatBox.setCurrentIndex(tmpFormat)
|
||||||
if str(GUI.FormatBox.currentText()) == 'CBZ':
|
if str(GUI.FormatBox.currentText()) == 'CBZ' or GUI.WebtoonBox.isChecked():
|
||||||
GUI.MangaBox.setEnabled(False)
|
GUI.MangaBox.setEnabled(False)
|
||||||
GUI.QualityBox.setEnabled(False)
|
GUI.QualityBox.setEnabled(False)
|
||||||
GUI.MangaBox.setChecked(False)
|
GUI.MangaBox.setChecked(False)
|
||||||
@@ -845,6 +845,9 @@ class KCCGUI(KCC_ui.Ui_KCC):
|
|||||||
GUI.QualityBox.setEnabled(profile['Quality'])
|
GUI.QualityBox.setEnabled(profile['Quality'])
|
||||||
if not profile['Quality']:
|
if not profile['Quality']:
|
||||||
GUI.QualityBox.setChecked(False)
|
GUI.QualityBox.setChecked(False)
|
||||||
|
if GUI.ProcessingBox.isChecked():
|
||||||
|
GUI.QualityBox.setEnabled(False)
|
||||||
|
GUI.QualityBox.setChecked(False)
|
||||||
|
|
||||||
def stripTags(self, html):
|
def stripTags(self, html):
|
||||||
s = HTMLStripper()
|
s = HTMLStripper()
|
||||||
|
|||||||
Reference in New Issue
Block a user