File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ proc ::tree::make { { baseNumber -1 } {locked 0} } {
8282
8383 menu $w .menu.mask.recent
8484 foreach f $::tree::mask::recentMask {
85- $w .menu.mask.recent add command -label $f -command " ::tree::mask::open $f "
85+ $w .menu.mask.recent add command -label $f -command [ list ::tree::mask::open $f ]
8686 }
8787 $w .menu.mask add cascade -label TreeMaskOpenRecent -menu $w .menu.mask.recent
8888 set helpMessage($w .menu.mask,2) TreeMaskOpenRecent
@@ -1186,7 +1186,7 @@ proc ::tree::mask::open { {filename ""} } {
11861186 if { [winfo exists $w ] } {
11871187 $w .menu.mask.recent delete 0 end
11881188 foreach f $::tree::mask::recentMask {
1189- $w .menu.mask.recent add command -label $f -command " ::tree::mask::open $f "
1189+ $w .menu.mask.recent add command -label $f -command [ list ::tree::mask::open $f ]
11901190 }
11911191 }
11921192 }
You can’t perform that action at this time.
0 commit comments