summaryrefslogtreecommitdiffstats
path: root/ds9/library/colorbar.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/colorbar.tcl')
-rw-r--r--ds9/library/colorbar.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/ds9/library/colorbar.tcl b/ds9/library/colorbar.tcl
index ad80cc5..1a5bd67 100644
--- a/ds9/library/colorbar.tcl
+++ b/ds9/library/colorbar.tcl
@@ -912,9 +912,8 @@ proc ColormapDestroyDialog {} {
if {[winfo exists $icolorbar(top)]} {
destroy $icolorbar(top)
destroy $icolorbar(mb)
+ unset dcolorbar
}
-
- unset dcolorbar
}
proc ApplyColormap {} {