xcatch: Don't let the default delete handler run.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 8 Apr 2008 10:23:54 +0000 (11:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 8 Apr 2008 10:23:54 +0000 (11:23 +0100)
It destroys the contents of the window, which is rather annoying.

xcatch.in

index 0f49a80..5c940f1 100644 (file)
--- a/xcatch.in
+++ b/xcatch.in
@@ -304,6 +304,7 @@ class Catcher (object):
     me._window.hide()
     XT.delreason()
     me._openp = False
+    return True
 
   @complain(True)
   def _ready(me, file, *_):