gitk: Avoid handling the Return key twice in Add Branch
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index c3b4eb20b69a52dc3a0dba5c537e8dba932704c9..f7f177621ceecd749c8ec581f023607f1297f0be 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -8270,7 +8270,6 @@ proc mkbranch {} {
     grid $top.id $top.sha1 -sticky w
     label $top.nlab -text [mc "Name:"]
     entry $top.name -width 40
-    bind $top.name <Key-Return> "[list mkbrgo $top]"
     grid $top.nlab $top.name -sticky w
     frame $top.buts
     button $top.buts.go -text [mc "Create"] -command [list mkbrgo $top]