Yes, I thought I had an NSButton, but it turned out I'd wrongly put in a 
NSPopupButton.


--- On Tue, 10/28/08, Peter Ammon <[EMAIL PROTECTED]> wrote:

> From: Peter Ammon <[EMAIL PROTECTED]>
> Subject: Re: NSPredicateEditor error
> To: [EMAIL PROTECTED]
> Cc: cocoa-dev@lists.apple.com
> Date: Tuesday, October 28, 2008, 11:41 AM
> On Oct 27, 2008, at 10:07 PM, Chris Idou wrote:
> 
> >
> > I'm getting the following error:
> >
> > In <NSPredicateEditor: 0x1096070>, different
> number of items (3)  
> > than predicate template views (4) for template
> <MyRowTemplate  
> > 0x12487e0: [move:] [] NSStringAttributeType>
> >
> >> From experimenting, the only difference between
> the  
> >> NSPredicateEditorRowTemplate that is failing and
> my other ones that  
> >> work fine, is that this one has a NSButton in its
> list of views.
> >
> > Has anyone else seen this before, and have any
> insight?
> 
> One reason for this message (which could be a lot clearer)
> is that  
> templateViews contains a NSPopUpButtonwith no items.   
> NSPredicateEditor doesn't support empty popup buttons
> yet.  Does that  
> help?
> 
> -Peter


      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to