aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBert Wesarg <bert.wesarg@googlemail.com>2011-10-13 15:48:13 +0200
committerPat Thoyts <patthoyts@users.sourceforge.net>2011-10-15 23:14:13 +0100
commit81a92e52059b3e2246142650b1282c6f21f49507 (patch)
tree2c9153a3647c7de0984094d039e356358c686497 /lib
parent59252107ac24d5efb0d411ef4c2b279aa217cd7d (diff)
downloadgit-81a92e52059b3e2246142650b1282c6f21f49507.tar.gz
git-81a92e52059b3e2246142650b1282c6f21f49507.tar.xz
git-gui: clear the goto line input when hiding
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/line.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/line.tcl b/lib/line.tcl
index 904722e67..ee27bd257 100644
--- a/lib/line.tcl
+++ b/lib/line.tcl
@@ -45,6 +45,7 @@ method show {} {
method hide {} {
if {[visible $this]} {
+ $w.ent delete 0 end
focus $ctext
grid remove $w
}