> I have an NSTableView backed by an NSArrayController. I call > setFilterPredicate on the NSArrayController to set a predicate of "rating == > 2" This does filter the table to show only those entries where rating is > 2.
The rating column is a Level Indicator and set to show star ratings in > IB. It is tied to the NSArrayController with a binding. If I edit the > rating field to change it while the table has a filter predicate, the line > item disappears (because it no longer matches the predicate), but I get > this: Note that if I turn off "Auto Rearrange Content" it works ok, but then of course after an edit, the filter does not "refilter" to reflect changes in the data. Note that I am only having this exception trouble with LevelIndicator fields. Text fields work fine... If I change the text to fall outside the predicate match, the row goes away without an exception being thrown. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
