diff options
Diffstat (limited to 'library/dialog.tcl')
| -rw-r--r-- | library/dialog.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dialog.tcl b/library/dialog.tcl index 16ba128..f5a771a 100644 --- a/library/dialog.tcl +++ b/library/dialog.tcl @@ -149,9 +149,9 @@ proc ::tk_dialog {w title text bitmap default args} { # 7. Set a grab and claim the focus too. if {$default >= 0} { - set focus $w.button$default + set focus $w.button$default } else { - set focus $w + set focus $w } tk::SetFocusGrab $w $focus |
