Добавил очистку текстовых полей при добавлении файлов в коммит

master
svkalinin 2022-11-11 13:09:36 +03:00
parent fdba263d3e
commit 47e4e4e128
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ namespace eval Git {
Git::DialogUpdate $Git::fr
}
bind $fr.body.lBox <Return> "Git::CommitAdd $fr"
bind $fr.body.lBox <Double-Button-1> "catch {Git::CommitAdd $fr}"
bind $fr.body.lBox <Double-Button-1> "catch {Git::CommitAdd $fr; $fr.body.t delete 0.0 end; $fr.body.tCommit delete 0.0 end}"
bind $fr.body.lBox <Button-1><ButtonRelease-1> "Git::ListBoxPress $fr"
bind $fr.body.lBox <KeyRelease> "Git::Key %K $fr"