Исправлено закрытиие вкладки Git по нажатию соотв. кнопки в панели инструментов
This commit is contained in:
parent
c988843bf0
commit
8402409489
|
@ -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} {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user