Skip to content

Commit a802919

Browse files
author
csaba
committed
Fix for bug [28b0703c15]: Premature attempt to execute a command on aqua.
1 parent ec243d8 commit a802919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macosx/tkMacOSXWindowEvent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ static const char *const accentNames[] = {
12681268
* elements for the Toggleswitch* styles if necessary
12691269
*/
12701270
Tcl_Interp *interp = Tk_Interp(tkwin);
1271-
int code = Tcl_EvalEx(interp, "ttk::toggleswitch::CondUpdateElements",
1271+
int code = Tcl_EvalEx(interp, "after 0 ttk::toggleswitch::CondUpdateElements",
12721272
TCL_INDEX_NONE, TCL_EVAL_GLOBAL);
12731273
if (code != TCL_OK) {
12741274
Tcl_BackgroundException(interp, code);

0 commit comments

Comments
 (0)