]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-gui: clear the goto line input when hiding
authorBert Wesarg <bert.wesarg@googlemail.com>
Thu, 13 Oct 2011 13:48:13 +0000 (15:48 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sat, 15 Oct 2011 22:14:13 +0000 (23:14 +0100)
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
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
        }