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.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
|
||||||
|
Loading…
Reference in New Issue
Block a user