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.check_state = True
self.select() self.select()
if self.function is not None: if self.function is not None:
try: try:
self.function() self.function()
except: except:
pass pass
def select(self, from_variable_callback=False): def select(self, from_variable_callback=False):
self.check_state = True self.check_state = True