This commit is contained in:
Tom Schimansky 2022-12-07 22:15:31 +01:00
parent f11d727879
commit a49dde63b3

View File

@ -119,7 +119,7 @@ class CTkSwitch(CTkBaseClass):
if self._variable is not None and self._variable != "":
self._variable_callback_name = self._variable.trace_add("write", self._variable_callback)
self.c_heck_state = True if self._variable.get() == self._onvalue else False
self._check_state = True if self._variable.get() == self._onvalue else False
self._create_bindings()
self._set_cursor()