Re: Modal Windows
Re: Modal Windows
- Subject: Re: Modal Windows
- From: Seth Willits <email@hidden>
- Date: Tue, 22 Dec 2009 23:26:37 -0800
On Dec 22, 2009, at 3:21 PM, Joaquín Sánchez wrote:
> 2009-12-23 00:08:10.483 Secciones[1682:a0f] Modal session requires modal window
This happens when in IB you drop in an NSWindow instance, and then change the class to NSPanel, versus creating an NSPanel instance in the first place. My guess (I didn't bother to check) is that this is because IB didn't set - [NSPanel setWorksWhenModal:YES].
Just add that, or recreate the window in IB as an NSPanel to begin with and you should be fine.
--
Seth Willits
_______________________________________________
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
References: | |
| >Modal Windows (From: Joaquín Sánchez <email@hidden>) |