[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSDocument save panel fix
From: |
Wolfgang Lux |
Subject: |
NSDocument save panel fix |
Date: |
Fri, 2 Mar 2007 13:42:56 +0100 |
Hello!
I've noticed a little inconsistency in NSDocument with regard to
the required file type in its save panel. The code in method
-fileNameFromRunningSavePanelForSaveOperation: was using the file
type returned from the save panel run last as required file type.
However, in the save panel accessory's pop up button, the document's
current file type is selected, which may be different. The attached
patch fixes this by setting the document's current file type as
(initial) required file type for the save panel.
Regards
Wolfgang
NSDocument.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSDocument save panel fix,
Wolfgang Lux <=