diff --git a/lib/git.tcl b/lib/git.tcl index dfb1f4d..2d26179 100644 --- a/lib/git.tcl +++ b/lib/git.tcl @@ -625,7 +625,7 @@ namespace eval Git { Git::DialogUpdate $Git::fr } bind $fr.body.lBox "Git::CommitAdd $fr" - bind $fr.body.lBox "catch {Git::CommitAdd $fr}" + bind $fr.body.lBox "catch {Git::CommitAdd $fr; $fr.body.t delete 0.0 end; $fr.body.tCommit delete 0.0 end}" bind $fr.body.lBox "Git::ListBoxPress $fr" bind $fr.body.lBox "Git::Key %K $fr"