From 2dd7b7239ebfaff00316b77aadb0bdc1b32d4fd6 Mon Sep 17 00:00:00 2001 From: svk Date: Tue, 27 Jan 2026 16:25:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=B5=D0=BA=20=D0=B2=D0=BD=D0=B5=D1=88=D0=BD=D0=B8?= =?UTF-8?q?=D1=85=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=BE=D0=B2.=20=D0=98=20=D0=BF=D1=83=D0=BD=D0=BA=D1=82?= =?UTF-8?q?=20=D0=B2=20=D0=BC=D0=B5=D0=BD=D1=8E=20'=D0=98=D0=BD=D1=81?= =?UTF-8?q?=D1=82=D1=80=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D1=8B'->'=D0=9D?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tools.tcl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/tools.tcl b/lib/tools.tcl index 3c165df..23139a6 100644 --- a/lib/tools.tcl +++ b/lib/tools.tcl @@ -122,6 +122,8 @@ proc Tools::GetMenu {m} { } } } + $m add separator + $m add command -label "[::msgcat::mc "Settings"]" -command Tools::Settings } proc Tools::CommandPathSettings {command} { @@ -200,3 +202,11 @@ proc Tools::Execute {toolName} { fileevent $pipe readable fconfigure $pipe -buffering none -blocking no } + +# Правка файла настроек +proc Tools::Settings {} { + global dir + + FileOper::Edit [file join $dir(cfg) tools.ini] + # Config::read $dir(cfg) +}