Добавлена динамическая генерация меню 'Инструменты'. Теперь новые внешние инструменты доступны сразу после сохранения файла настроек tools.ini в редакторе.
This commit is contained in:
@@ -391,6 +391,12 @@ namespace eval FileOper {
|
||||
if {[file tail $filePath] eq "projman.ini"} {
|
||||
Config::read $dir(cfg)
|
||||
}
|
||||
if {[file tail $filePath] eq "tools.ini"} {
|
||||
Tools::Read $dir(cfg)
|
||||
Tools::CheckVariables
|
||||
Tools::GetMenu .popup.tools
|
||||
Tools::GetMenu .frmMenu.mnuTools.m
|
||||
}
|
||||
if [string match "*untitled*" $nbEditorItem] {
|
||||
FileOper::Close
|
||||
if {$type ne "close"} {
|
||||
|
||||
Reference in New Issue
Block a user