Re: NSOpenPanel trouble with leopard
Re: NSOpenPanel trouble with leopard
- Subject: Re: NSOpenPanel trouble with leopard
- From: Jim Correia <email@hidden>
- Date: Mon, 3 Dec 2007 16:24:14 -0500
On Dec 3, 2007, at 4:11 PM, Adrien Mondot wrote:
I think I found one of the side effect that caused the problem : it
was a NSOutlineView that was raising an error when updated, I don't
understand why it was updating when calling NSOpenPanel, neither
why it raise an error...
I removed the notification I was using, and now it's working
(almost) normally
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(forceSelectionDidChange:)
name: NSOutlineViewSelectionDidChangeNotification
object: forceView];
Was forceView nil at the time you registered for the notification? If
so, you will get a notification for *every* outline view.
Jim
_______________________________________________
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