From: Jens Lidestrom via GitGitGadget Date: Tue, 27 Jun 2023 14:41:23 GMT Subject: [PATCH 8/9] gitk: focus ok button in reset dialog Message-ID: <49cdbff270f30f91418dde5c704836f51e1e4f61.1687876885.git.gitgitgadget@gmail.com> In-Reply-To: From: Jens Lidestrom This is more convenient for users, especially when using keyboard commands. Signed-off-by: Jens Lidestrom --- 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 [list destroy $w] pack $w.cancel -side right -fill x -padx 20 -pady 20 - bind $w "grab $w; focus $w" + bind $w "grab $w; focus $w.ok" tkwait window $w if {!$confirm_ok} return if {[catch {set fd [open \ -- gitgitgadget