Re: consecutive open dialogs
Re: consecutive open dialogs
- Subject: Re: consecutive open dialogs
- From: "Clark Cox" <email@hidden>
- Date: Wed, 15 Aug 2007 11:43:44 -0700
On 8/15/07, Mitchell Livingston <email@hidden> wrote:
> The problem is only the first open works. For the rest it has
> problems creating the NSDictionary and although it does show the open
> sheet, after I hit OK I get "*** -[NSSavePanelAuxiliary UTF8String]:
> selector not recognized [self = 0x523d620] " in Console. Is there
> something I'm doing wrong?
Yes; in -opernFilesAskWithDict:, you're calling release on the
dictionary. This is essentially pulling the rug out from underneath
NSSavePanel.
> The code is available http://transmission.m0k.org/trac/browser/tags/
> 0.80/macosx/Controller.m starting at line 798.
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden