Skip to content

Commit 68149a7

Browse files
angavrilovpaulusmack
authored andcommitted
gitk: Avoid handling the Return key twice in Add Branch
This reverts commit 63767d5. A similar change was made as part of commit 76f1594, that added bindings to all dialogs, and this duplication causes mkbrgo to be called twice, the second time after the window has been destroyed. As a result, an error window appears when the code tries to access widgets. Signed-off-by: Alexander Gavrilov <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent cdc8429 commit 68149a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gitk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8270,7 +8270,6 @@ proc mkbranch {} {
82708270
grid $top.id $top.sha1 -sticky w
82718271
label $top.nlab -text [mc "Name:"]
82728272
entry $top.name -width 40
8273-
bind $top.name <Key-Return> "[list mkbrgo $top]"
82748273
grid $top.nlab $top.name -sticky w
82758274
frame $top.buts
82768275
button $top.buts.go -text [mc "Create"] -command [list mkbrgo $top]

0 commit comments

Comments
 (0)