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

Attachment: NSDocument.patch
Description: Binary data

_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to