[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSDocument close & NSApplication targetForAction
From: |
Adam Fedor |
Subject: |
Re: NSDocument close & NSApplication targetForAction |
Date: |
19 Sep 2003 21:09:59 -0600 |
On Tue, 2003-09-16 at 02:07, Matt Rice wrote:
> 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.
>
Applied. Thanks.