diff options
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/tcltk.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/lib/tcltk.rb b/ext/tk/lib/tcltk.rb index 7796bb86ef..121f42c26e 100644 --- a/ext/tk/lib/tcltk.rb +++ b/ext/tk/lib/tcltk.rb @@ -295,6 +295,7 @@ class TclTkWidget < TclTkCommand res = @ip._eval_args(command, exp, *args) # fail("can't create Widget") if res != exp # for tk_optionMenu, it is legal res != exp + return res else fail("first parameter is not TclTkInterpreter") end |