Исправлена ошибка с отображением файловой панели
This commit is contained in:
parent
84795cfb47
commit
e94f046972
|
@ -126,7 +126,7 @@ if {$cfgVariables(toolBarShow) eq "true"} {
|
||||||
}
|
}
|
||||||
pack .frmBody.panel -side left -fill both -expand 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_search -command FileOper::FindInFiles -image search_24x24
|
||||||
ttk::button $frmTool.btn_git -command Git::Dialog -image git_24x24
|
ttk::button $frmTool.btn_git -command Git::Dialog -image git_24x24
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ proc ViewFilesTree {{hotkey "false"}} {
|
||||||
}
|
}
|
||||||
if {$cfgVariables(filesPanelShow) eq "false"} {
|
if {$cfgVariables(filesPanelShow) eq "false"} {
|
||||||
.frmBody.panel forget .frmBody.frmTree
|
.frmBody.panel forget .frmBody.frmTree
|
||||||
# set cfgVariables(filesPanelShow) true
|
|
||||||
} else {
|
} else {
|
||||||
switch $cfgVariables(filesPanelPlace) {
|
switch $cfgVariables(filesPanelPlace) {
|
||||||
"left" {
|
"left" {
|
||||||
|
@ -43,7 +42,6 @@ proc ViewFilesTree {{hotkey "false"}} {
|
||||||
.frmBody.panel insert 0 .frmBody.frmTree
|
.frmBody.panel insert 0 .frmBody.frmTree
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# set cfgVariables(filesPanelShow) false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
proc ViewToolBar {} {
|
proc ViewToolBar {} {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user