summaryrefslogtreecommitdiffstats
path: root/ds9/library/cat.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-30 16:14:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-30 16:14:52 (GMT)
commit6c48a0325ac2743355ca31e65f0f4fb20afcf5ee (patch)
treef83be9f352036b6019bbf5f1ad8849490d69942b /ds9/library/cat.tcl
parent610507887cbc040d7a6679171f2410fb8ad58e71 (diff)
downloadblt-6c48a0325ac2743355ca31e65f0f4fb20afcf5ee.zip
blt-6c48a0325ac2743355ca31e65f0f4fb20afcf5ee.tar.gz
blt-6c48a0325ac2743355ca31e65f0f4fb20afcf5ee.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/library/cat.tcl')
-rw-r--r--ds9/library/cat.tcl7
1 files changed, 3 insertions, 4 deletions
diff --git a/ds9/library/cat.tcl b/ds9/library/cat.tcl
index 0d30632..81da9ad 100644
--- a/ds9/library/cat.tcl
+++ b/ds9/library/cat.tcl
@@ -1260,14 +1260,13 @@ proc CatalogCmdCheck {} {
if {![info exists cvar(top)]} {
Error "[msgcat::mc {Unable to find catalog window}] $cvarname"
- cat::YYABORT
- return
+ return 0
}
if {![winfo exists $cvar(top)]} {
Error "[msgcat:: mc {Unable to find catalog window}] $cvarname"
- cat::YYABORT
- return
+ return 0
}
+ return 1
}
proc CatalogCmdRef {ref} {