git-gui: clear the goto line input when hiding
[gitweb.git] / lib / line.tcl
index 904722e6772ee20ef28619db3bd6fd56aff6f89f..ee27bd257a69c2d23c6ca07a4ffd697ba08abda1 100644 (file)
@@ -45,6 +45,7 @@ method show {} {
 
 method hide {} {
        if {[visible $this]} {
+               $w.ent delete 0 end
                focus $ctext
                grid remove $w
        }