title: Using delegate after editing NSOutlineView item
body: <p>My setup is</p>
  
  <p>I have nib file consisting of an NSpanel, with an NSOutlineView.</p>
  
  <p>The outline view is populated via bindings and NSTreeController, I have the NSOutlineView subclassed where I have some delegate and drag and drop methods.</p>
  
  <p>My Problem</p>
  
  <p>I'm trying to implement the delegate method</p>
  
  <pre><code>- (void)textDidEndEditing:(NSNotification *)aNotification
  </code></pre>
  
  <p>I can edit any item in the NSOutlineview, once I hit "return" the delegate method is called, however the window is no longer active. And the item is left in "edit mode" I have to have to click an item above or below the edited item to terminate the edit mode.  I included a couple images to illustrate</p>
  
  <p>Currently I don't have anything in the textdidendediting other than a NSlog to see if it was getting called.  If I remove the method it performs as expected, editing is completed, window is still active.</p>
  
  <p>Editing item</p>
  
  <p><img src="https://i.stack.imgur.com/9f7Hl.png" alt="Editing item"></p>
  
  <p>Once I hit "return" window loses focus and item is still in edit mode.</p>
  
  <p><img src="https://i.stack.imgur.com/Q9nNG.png" alt="Hit enter">  </p>