NSTreeController, "canRemove" binding
NSTreeController, "canRemove" binding
- Subject: NSTreeController, "canRemove" binding
- From: "Alexey Zakhlestin" <email@hidden>
- Date: Sat, 22 Mar 2008 12:20:42 +0300
Mac OS X 10.5.2
I have NSOutlineView bound to NSTreeController
Additionally, I have a button, which is bound to "canRemove" of
NSTreeController. Unfortunately, button never gets disabled (even if I
have an empty selection in NSOutlineView)
I added NSLog() to the method, which handles click on button and put
value of "canRemove" — the value is correct there (NO when nothing is
selected, YES, when something is selected).
Visually, whenever I remove selection in NSOutlineView button gets
disabled for half-a-second, and then becomes enabled again.
What can be done to solve this issue?
--
Alexey Zakhlestin
http://www.milkfarmsoft.com/
_______________________________________________
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