diff options
Diffstat (limited to 'ds9/parsers/colorbarparser.tac')
-rw-r--r-- | ds9/parsers/colorbarparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/colorbarparser.tac b/ds9/parsers/colorbarparser.tac index b0180b0..4c9ab3a 100644 --- a/ds9/parsers/colorbarparser.tac +++ b/ds9/parsers/colorbarparser.tac @@ -27,7 +27,7 @@ #include fonts.trl command : colorbar - | colorbar {yyclearin; YYACCEPT} STRING_ + | colorbar {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; colorbar : yesno {ProcessCmdSet view colorbar $1 UpdateView} |