summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-09-28 15:45:54 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-09-28 15:45:54 (GMT)
commit6599babf2070b783d88fdff0f5538ea5a561d6b1 (patch)
tree0bf2b3c5e132d24ebce5fee2332042b03b9a680b /ds9
parentcc5df79627b75a1fcd807ff73319e1a3d3cb2b63 (diff)
downloadblt-6599babf2070b783d88fdff0f5538ea5a561d6b1.zip
blt-6599babf2070b783d88fdff0f5538ea5a561d6b1.tar.gz
blt-6599babf2070b783d88fdff0f5538ea5a561d6b1.tar.bz2
minor tweek to UpdateCube
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/cube.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ds9/library/cube.tcl b/ds9/library/cube.tcl
index a6c1104..73e504c 100644
--- a/ds9/library/cube.tcl
+++ b/ds9/library/cube.tcl
@@ -491,10 +491,6 @@ proc UpdateCubeDialog {} {
set cube(frame) $current(frame)
- # now make sure we have the coord systems
- AdjustCoordSystem3d cube system
- CoordMenuEnable3d $mb.coord cube system sky {}
-
# get number of axes
set naxes [$current(frame) get fits naxes]
@@ -504,6 +500,10 @@ proc UpdateCubeDialog {} {
return
}
+ # now make sure we have the coord systems
+ AdjustCoordSystem3d cube system
+ CoordMenuEnable3d $mb.coord cube system sky {}
+
# enable/disable Axes Reorder
$mb entryconfig [msgcat::mc {Axes Order}] -state normal