summaryrefslogtreecommitdiffstats
path: root/ds9/library
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-10-01 19:47:46 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-10-01 19:47:46 (GMT)
commitcae27ef31349519751992161b79820db7d952ed2 (patch)
tree65153d123ed810c8a8e79ef2e1bc1310cca729a7 /ds9/library
parentd55aaab5253227aaf385333c17d4e453122ae775 (diff)
downloadblt-cae27ef31349519751992161b79820db7d952ed2.zip
blt-cae27ef31349519751992161b79820db7d952ed2.tar.gz
blt-cae27ef31349519751992161b79820db7d952ed2.tar.bz2
update
Diffstat (limited to 'ds9/library')
-rw-r--r--ds9/library/contour.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/ds9/library/contour.tcl b/ds9/library/contour.tcl
index e742b80..44e32b9 100644
--- a/ds9/library/contour.tcl
+++ b/ds9/library/contour.tcl
@@ -892,7 +892,7 @@ proc UpdateContourScale {} {
set contour(mode) [$current(frame) get contour clip mode]
set contour(scope) [$current(frame) get contour clip scope]
set contour(log) [$current(frame) get contour colorscale log]
- set limits [$current(frame) get clip $contour(mode) $contour(scope)]
+ set limits [$current(frame) get contour clip]
set contour(min) [lindex $limits 0]
set contour(max) [lindex $limits 1]
} else {
@@ -1154,6 +1154,7 @@ proc ContourCmdLimits {min max} {
set contour(min) $min
set contour(max) $max
+ set contour(mode) user
ContourGenerateDialog
UpdateContour
}