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

This commit is contained in:
svkalinin 2022-11-11 13:09:36 +03:00
parent fdba263d3e
commit 47e4e4e128

View File

@ -625,7 +625,7 @@ namespace eval Git {
Git::DialogUpdate $Git::fr Git::DialogUpdate $Git::fr
} }
bind $fr.body.lBox <Return> "Git::CommitAdd $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 <Button-1><ButtonRelease-1> "Git::ListBoxPress $fr"
bind $fr.body.lBox <KeyRelease> "Git::Key %K $fr" bind $fr.body.lBox <KeyRelease> "Git::Key %K $fr"