[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSDocument close & NSApplication targetForAction
From: |
Matt Rice |
Subject: |
NSDocument close & NSApplication targetForAction |
Date: |
Tue, 16 Sep 2003 01:07:44 -0700 (PDT) |
bug when using NSDocument, the key window always
responds to close and so NSDocument close never gets
called.. and reopening a document would show the one
which you just "closed" rather than reading from
disk.. (tested with Ink..)
this patch moves the check for document based apps up
above the key window, and checks for them on
performClose for the windowmaker close button.
matt
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
DocumentClose.diff
Description: DocumentClose.diff
- NSDocument close & NSApplication targetForAction,
Matt Rice <=