Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSavePanel: Hide extension is killing the extension




I've found something strange with the NSSavePanel. I've never used NSSavePanel before, mind you.


I open up a panel like this:

[sp setCanSelectHiddenExtension:true];
runResult = [sp runModalForDirectory:nil file: @"untitled.htm" ];


I click the "hide extension" checkbox in the save panel and the extension gets hidden. Then I uncheck the "hide extension" checkbox, and the extension stays hidden. In fact it appears to have been deleted.

What am I doing wrong? Or is this a bug in Cocoa?

--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.