From 21a4620b7f9151b93534e884026ba2ab321ee18a Mon Sep 17 00:00:00 2001 From: ethanbrookins Date: Sun, 15 Dec 2024 16:00:00 -0800 Subject: [PATCH] The Adaptation slider is properly reset when unchecking the Preconditioning profile checkbox --- DisplayCAL/wxTestchartEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DisplayCAL/wxTestchartEditor.py b/DisplayCAL/wxTestchartEditor.py index e9b14696..b449ee05 100644 --- a/DisplayCAL/wxTestchartEditor.py +++ b/DisplayCAL/wxTestchartEditor.py @@ -2434,7 +2434,7 @@ def tc_multi_bcc_cb_handler(self, event=None): def tc_precond_handler(self, event=None): setcfg("tc_precond", int(self.tc_precond.GetValue())) self.tc_adaption_slider.SetValue( - (1 if getcfg("tc_precond") else defaults["tc_adaption"]) * 100 + int((1 if getcfg("tc_precond") else defaults["tc_adaption"]) * 100) ) self.tc_adaption_handler(self.tc_adaption_slider) self.tc_algo_handler()