From: Jens Lidestrom <jens@xxxxxxxxxxxx> This is more convenient for users, especially when using keyboard commands. Signed-off-by: Jens Lidestrom <jens@xxxxxxxxxxxx> --- gitk-git/gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitk-git/gitk b/gitk-git/gitk index 5b01d1902a5..9d93053e360 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -9922,7 +9922,7 @@ proc resethead {reset_target_id} { ${NS}::button $w.cancel -text [mc Cancel] -command "destroy $w" bind $w <Key-Escape> [list destroy $w] pack $w.cancel -side right -fill x -padx 20 -pady 20 - bind $w <Visibility> "grab $w; focus $w" + bind $w <Visibility> "grab $w; focus $w.ok" tkwait window $w if {!$confirm_ok} return if {[catch {set fd [open \ -- gitgitgadget