From 3467d6a89a1d852546d2d8f87e7673f7b9358f6c Mon Sep 17 00:00:00 2001 From: svkalinin Date: Fri, 16 Dec 2022 15:00:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D0=B2=D1=8B=D1=85=D0=BE=D0=B4=D0=B5=20=D0=B2=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D1=86=D0=B5=D0=B4=D1=83=D1=80=D0=B5=20(Congig::Wri?= =?UTF-8?q?te)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/config.tcl | 6 ++++-- projman.tcl | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/config.tcl b/lib/config.tcl index 8b414cc..22dde4f 100644 --- a/lib/config.tcl +++ b/lib/config.tcl @@ -102,8 +102,10 @@ proc Config::write {dir} { # Добавим пути к открытым в редакторе файлам в переменную if [info exists editors] { foreach i [dict keys $editors] { - puts [dict get $editors $i] - lappend edited [dict get $editors $i fileFullPath] + # puts [dict get $editors $i] + if [dict exists $editors $i fileFullPath] { + lappend edited [dict get $editors $i fileFullPath] + } } if [info exists edited] { ini::set $cfgFile "UserSession" editedFiles $edited diff --git a/projman.tcl b/projman.tcl index 19dec00..cc39f17 100755 --- a/projman.tcl +++ b/projman.tcl @@ -10,7 +10,7 @@ exec wish "$0" -- "$@" ###################################################### # Version: 2.0.0 # Release: alpha -# Build: 16122022101023 +# Build: 16122022145953 ###################################################### # определим текущую версию, релиз и т.д.