Исправлена ошибка с отображением файловой панели

master
svkalinin 2022-11-22 10:49:42 +03:00
parent 84795cfb47
commit e94f046972
2 changed files with 1 additions and 3 deletions

View File

@ -126,7 +126,7 @@ if {$cfgVariables(toolBarShow) eq "true"} {
}
pack .frmBody.panel -side left -fill both -expand true
ttk::button $frmTool.btn_tree -command ViewFilesTree -image tree_24x24
ttk::button $frmTool.btn_tree -command "ViewFilesTree true" -image tree_24x24
ttk::button $frmTool.btn_search -command FileOper::FindInFiles -image search_24x24
ttk::button $frmTool.btn_git -command Git::Dialog -image git_24x24

View File

@ -30,7 +30,6 @@ proc ViewFilesTree {{hotkey "false"}} {
}
if {$cfgVariables(filesPanelShow) eq "false"} {
.frmBody.panel forget .frmBody.frmTree
# set cfgVariables(filesPanelShow) true
} else {
switch $cfgVariables(filesPanelPlace) {
"left" {
@ -43,7 +42,6 @@ proc ViewFilesTree {{hotkey "false"}} {
.frmBody.panel insert 0 .frmBody.frmTree
}
}
# set cfgVariables(filesPanelShow) false
}
}
proc ViewToolBar {} {