ctk_radiobutton command blocked if disabled

This commit is contained in:
Mohsen Sadi 2022-06-08 07:24:24 -04:00
parent 6e36ec818e
commit 4cf6a9f5c9

View File

@ -287,11 +287,11 @@ class CTkRadioButton(CTkBaseClass):
self.check_state = True
self.select()
if self.function is not None:
try:
self.function()
except:
pass
if self.function is not None:
try:
self.function()
except:
pass
def select(self, from_variable_callback=False):
self.check_state = True