diff options
Diffstat (limited to 'ds9/parsers/frameparser.tac')
-rw-r--r-- | ds9/parsers/frameparser.tac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ds9/parsers/frameparser.tac b/ds9/parsers/frameparser.tac index e636d73..82f9066 100644 --- a/ds9/parsers/frameparser.tac +++ b/ds9/parsers/frameparser.tac @@ -87,13 +87,13 @@ refresh : {UpdateCurrentFrame} | ALL_ {UpdateAllFrame} ; -hide : {FrameCmdHideCurrent} - | INT_ {FrameCmdHide $1} +hide : {global current; ActiveCmdSet $current(frame) 0 UpdateActiveFrames} + | INT_ {ActiveCmdSet "Frame$1" 0 UpdateActiveFrames} | ALL_ {ActiveFrameNone} ; show : - | INT_ {FrameCmdShow $1} + | INT_ {ActiveCmdSet "Frame$1" 1 UpdateActiveFrames} | ALL_ {ActiveFrameAll} ; |