Skip to content

Commit

Permalink
The Adaptation slider is properly reset when unchecking the Precondit…
Browse files Browse the repository at this point in the history
…ioning profile checkbox
  • Loading branch information
ethanbrookins committed Dec 16, 2024
1 parent af9d0eb commit 21a4620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DisplayCAL/wxTestchartEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 21a4620

Please sign in to comment.