Skip to content

Commit 63767d5

Browse files
richqpaulusmack
authored andcommitted
gitk: Bind Key-Return to create on new branch dialog
The Return key can now be used as well as pressing the Create button from the dialog box that is shown when selecting "Create new branch". Signed-off-by: Richard Quirk <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 968ce45 commit 63767d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7625,6 +7625,7 @@ proc mkbranch {} {
76257625
grid $top.id $top.sha1 -sticky w
76267626
label $top.nlab -text [mc "Name:"]
76277627
entry $top.name -width 40
7628+
bind $top.name <Key-Return> "[list mkbrgo $top]"
76287629
grid $top.nlab $top.name -sticky w
76297630
frame $top.buts
76307631
button $top.buts.go -text [mc "Create"] -command [list mkbrgo $top]

0 commit comments

Comments
 (0)