Добавлено редактирование настроек внешних инструментов. И пункт в меню 'Инструменты'->'Настройки'

This commit is contained in:
svk
2026-01-27 16:25:22 +03:00
parent 4b09b1e97d
commit 2dd7b7239e

View File

@@ -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} { proc Tools::CommandPathSettings {command} {
@@ -200,3 +202,11 @@ proc Tools::Execute {toolName} {
fileevent $pipe readable fileevent $pipe readable
fconfigure $pipe -buffering none -blocking no fconfigure $pipe -buffering none -blocking no
} }
# Правка файла настроек
proc Tools::Settings {} {
global dir
FileOper::Edit [file join $dir(cfg) tools.ini]
# Config::read $dir(cfg)
}