summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2008-11-13 23:09:18 +0300
committerPaul Mackerras <paulus@samba.org>2008-11-18 20:35:39 +1100
commit68149a71978564aaef7a5fe956cf1de2864c16d3 (patch)
tree3afb9ec84992c1287e7abf1c0f84fdb452ae9ae3
parentcdc8429c94e43181ac0bd48225c2af85499d2f5a (diff)
downloadgit-68149a71978564aaef7a5fe956cf1de2864c16d3.tar.gz
gitk: Avoid handling the Return key twice in Add Branch
This reverts commit 63767d5fb8fe236d8fdeba44297ac925701b27a0. A similar change was made as part of commit 76f15947af7, 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 <angavrilov@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xgitk1
1 files changed, 0 insertions, 1 deletions
diff --git a/gitk b/gitk
index c3b4eb20b6..f7f177621c 100755
--- 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]