Re: Photoshop plugin with Cocoa UI problems
Re: Photoshop plugin with Cocoa UI problems
- Subject: Re: Photoshop plugin with Cocoa UI problems
- From: Frederik Slijkerman <email@hidden>
- Date: Thu, 11 Jun 2009 20:44:24 +0200
Hi Scott,
I was calling [NSApp stopModal] instead of abortModal. I did verify
though that the modal loop stopped, and the original [NSApp
runModalForWindow] call returned, finally returning to Photoshop. But
perhaps there is a difference between stopModal and abortModal here.
Best regards,
Frederik Slijkerman
Scott Andrew wrote:
What doesn't make sense is that the plugin i worked on was modal (it was
an export plugin). What I noticed in our window does is a call
abortModal on the windowWIllClose notification. From what i can see,
from the messages in your original post, it looks like you are still in
the modal loop. Putting the notification there allows the window to
handle when [window close] is called.
Scott
_______________________________________________
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