summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotline.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/plotline.tcl')
-rw-r--r--ds9/library/plotline.tcl6
1 files changed, 2 insertions, 4 deletions
diff --git a/ds9/library/plotline.tcl b/ds9/library/plotline.tcl
index a78b1b0..11bfdf3 100644
--- a/ds9/library/plotline.tcl
+++ b/ds9/library/plotline.tcl
@@ -155,15 +155,13 @@ proc PlotLineUpdateElement {varname} {
upvar #0 $varname var
global $varname
- set cc $var(graph,current)
+ PlotSaveState $varname
- # warning: uses current vars
+ set cc $var(graph,current)
if {$var($cc,data,total) == 0} {
return
}
- PlotSaveState $varname
-
if {$var(graph,ds,fill)} {
set fillClr $var(graph,ds,fill,color)
} else {