From e5e53d3aa7b423c10878f0cfd7b0d1046683c2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sun, 5 Jan 2014 13:55:42 +0100 Subject: [PATCH] Fixed GUI logic --- kcc/KCC_gui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 65e6756..82b994e 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -833,7 +833,7 @@ class KCCGUI(KCC_ui.Ui_KCC): else: tmpFormat = 0 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.QualityBox.setEnabled(False) GUI.MangaBox.setChecked(False) @@ -845,6 +845,9 @@ class KCCGUI(KCC_ui.Ui_KCC): GUI.QualityBox.setEnabled(profile['Quality']) if not profile['Quality']: GUI.QualityBox.setChecked(False) + if GUI.ProcessingBox.isChecked(): + GUI.QualityBox.setEnabled(False) + GUI.QualityBox.setChecked(False) def stripTags(self, html): s = HTMLStripper()