From 9bb25eb817fd0e88df89dad314dbff0f3bc5403e Mon Sep 17 00:00:00 2001 From: svkalinin Date: Wed, 23 Nov 2022 13:20:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=D0=B8=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/menu.tcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/menu.tcl b/lib/menu.tcl index 4248071..23b47c7 100644 --- a/lib/menu.tcl +++ b/lib/menu.tcl @@ -22,6 +22,10 @@ proc GetFileMenu {m} { -accelerator "Ctrl+S" $m add command -label [::msgcat::mc "Close file"] -command {FileOper::Close}\ -accelerator "Ctrl+w" + $m add command -label [::msgcat::mc "Close all"] -command {FileOper::CloseAll} + + $m add separator + $m add command -label [::msgcat::mc "Open folder"] -accelerator "Ctrl+K" -command { set folderPath [FileOper::OpenFolderDialog] if {$folderPath != ""} { @@ -31,7 +35,6 @@ proc GetFileMenu {m} { } } $m add command -label [::msgcat::mc "Close folder"] -command {FileOper::CloseFolder} - $m add command -label [::msgcat::mc "Close all"] -command {FileOper::CloseAll} #$m add command -label [::msgcat::mc "Open"] -command {FileDialog $tree open}\ #-font $fontNormal -accelerator "Ctrl+O" -state disable