From 8402409489f338d251dce093186cf8ad4d0cf2f7 Mon Sep 17 00:00:00 2001 From: svkalinin Date: Wed, 23 Nov 2022 12:49:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D1=82=D0=B8?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B2=D0=BA=D0=BB=D0=B0=D0=B4=D0=BA=D0=B8=20Git?= =?UTF-8?q?=20=20=D0=BF=D0=BE=20=D0=BD=D0=B0=D0=B6=D0=B0=D1=82=D0=B8=D1=8E?= =?UTF-8?q?=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2.=20=D0=BA=D0=BD=D0=BE=D0=BF?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B2=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D0=B8=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/git.tcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/git.tcl b/lib/git.tcl index e026186..f697a2a 100644 --- a/lib/git.tcl +++ b/lib/git.tcl @@ -556,7 +556,11 @@ namespace eval Git { global cfgVariables activeProject nbEditor variable fr if [winfo exists $nbEditor.git_browse] { - $nbEditor select $nbEditor.git_browse + if {[$nbEditor select] eq "$nbEditor.git_browse"} { + destroy $nbEditor.git_browse + } else { + $nbEditor select $nbEditor.git_browse + } return } if {[info exists activeProject] == 0} {