Re: Preventing deselection of NSOutlineView item

2008-08-07 Thread Markus Spoettl
On Aug 7, 2008, at 2:34 PM, Markus Spoettl wrote: Basically I'd like the outline view only to change selection to other items, but not completely deselect all items. Is there a way to do this? Sometimes things are really simple but I still fail to see them: [outlineView setAllowsEmptySel

Preventing deselection of NSOutlineView item

2008-08-07 Thread Markus Spoettl
Hi List, I have an app with a bound NSOutlineView (source list style) and I'm wondering if there's a way to prevent deselection of a selection by the user. The delegate method - (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem: (id)item; is not called when no new item is