From 6599babf2070b783d88fdff0f5538ea5a561d6b1 Mon Sep 17 00:00:00 2001 From: William Joye Date: Fri, 28 Sep 2018 11:45:54 -0400 Subject: minor tweek to UpdateCube --- ds9/library/cube.tcl | 8 ++++---- 1 file 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 -- cgit v0.12