summaryrefslogtreecommitdiffstats
path: root/ds9/library/manalysis.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-21 20:40:02 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-21 20:40:02 (GMT)
commit7959c11e46b7f1227edce9ea4d6de29a786d88bb (patch)
tree3ab40f0bce571c365d4c59528522d1cfad282bfb /ds9/library/manalysis.tcl
parent86dd0bbcc0ea3a68eee464557e1de53def0192d9 (diff)
downloadblt-7959c11e46b7f1227edce9ea4d6de29a786d88bb.zip
blt-7959c11e46b7f1227edce9ea4d6de29a786d88bb.tar.gz
blt-7959c11e46b7f1227edce9ea4d6de29a786d88bb.tar.bz2
clean up code
Diffstat (limited to 'ds9/library/manalysis.tcl')
-rw-r--r--ds9/library/manalysis.tcl17
1 files changed, 4 insertions, 13 deletions
diff --git a/ds9/library/manalysis.tcl b/ds9/library/manalysis.tcl
index 539893a..dbb6c2c 100644
--- a/ds9/library/manalysis.tcl
+++ b/ds9/library/manalysis.tcl
@@ -425,12 +425,14 @@ proc PrefsDialogButtonbarAnalysis {f} {
-command {UpdateButtons buttons(analysis)}
}
-proc UpdateAnalysisMenuStatic {} {
+proc UpdateAnalysisMenu {} {
global ds9
+ global current
+ global ianalysis
global debug
if {$debug(tcl,update)} {
- puts stderr "UpdateAnalysisMenuStatic"
+ puts stderr "UpdateAnalysisMenu"
}
if {$ds9(active,num) > 0} {
@@ -438,17 +440,6 @@ proc UpdateAnalysisMenuStatic {} {
} else {
$ds9(mb) entryconfig [msgcat::mc {Analysis}] -state disabled
}
-}
-
-proc UpdateAnalysisMenu {} {
- global ds9
- global current
- global ianalysis
-
- global debug
- if {$debug(tcl,update)} {
- puts stderr "UpdateAnalysisMenu"
- }
if {$current(frame) != {}} {
for {set ii 0} {$ii<$ianalysis(menu,count)} {incr ii} {