[PATCH] gitk: Make error_popup react to Return
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index a70787a879926ca25b9ca0c3b6f54ae962139dab..36e8647b336a38a9dfcc2e186e41740fd57bb521 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -338,6 +338,7 @@ proc error_popup msg {
     button $w.ok -text OK -command "destroy $w"
     pack $w.ok -side bottom -fill x
     bind $w <Visibility> "grab $w; focus $w"
+    bind $w <Key-Return> "destroy $w"
     tkwait window $w
 }