mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
ctk_radiobutton command blocked if disabled
This commit is contained in:
parent
6e36ec818e
commit
4cf6a9f5c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user