summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/FrameWork.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/FrameWork.py')
-rw-r--r--Mac/Lib/FrameWork.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py
index 4735fc4..3ee118d 100644
--- a/Mac/Lib/FrameWork.py
+++ b/Mac/Lib/FrameWork.py
@@ -1010,6 +1010,10 @@ class DialogWindow(Window):
def close(self):
self.do_postclose()
+ def do_postclose(self):
+ self.dlg = None
+ Window.do_postclose(self)
+
def do_itemhit(self, item, event):
print 'Dialog %s, item %d hit'%(self.dlg, item)