Исправлено закрытиие вкладки Git по нажатию соотв. кнопки в панели инструментов

This commit is contained in:
svkalinin 2022-11-23 12:49:23 +03:00
parent c988843bf0
commit 8402409489

View File

@ -556,7 +556,11 @@ namespace eval Git {
global cfgVariables activeProject nbEditor global cfgVariables activeProject nbEditor
variable fr variable fr
if [winfo exists $nbEditor.git_browse] { if [winfo exists $nbEditor.git_browse] {
if {[$nbEditor select] eq "$nbEditor.git_browse"} {
destroy $nbEditor.git_browse
} else {
$nbEditor select $nbEditor.git_browse $nbEditor select $nbEditor.git_browse
}
return return
} }
if {[info exists activeProject] == 0} { if {[info exists activeProject] == 0} {