Re: NSPredicateEditor losing nextKeyView
Re: NSPredicateEditor losing nextKeyView
- Subject: Re: NSPredicateEditor losing nextKeyView
- From: Trygve Inda <email@hidden>
- Date: Tue, 23 Feb 2010 20:31:50 +0000
- Thread-topic: NSPredicateEditor losing nextKeyView
> On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
>
>> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
>> Initially, the tab key works to jump between my name field and the first
>> match field in the predicate editor.
>>
>> However, after changing any of the menus in the line of my predicate editor,
>> the tab key no longer allows the keyfield to rotate out of the
>> NSPredicateEditor back to other fields in my sheet.
>>
>> Is this a bug or do I need to hook up something to make it work?
>
> I noticed this happening sometimes in my code too. As a quick fix I just
> issued a delayed -recalculateKeyViewLoop message on any change of the search
> predicate when the view was visible.
>
>
> Ashley
>
>
>
>
It does the same thing when adding a row but...
NSRuleEditorRowsDidChangeNotification is only sent when changing popup menus
or text, not when simply adding a row.
Thoughts?
Trygve
_______________________________________________
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