Double clicking on headers of NSOutlineView is triggering double

I've a set a double-click action for my NSOutlineView, everything is working well:every time I double click on a row in the table, the correct method is invoked.

However, the same method is invoked when I double click on the header of a column (let's say to change the sort order). I've never noticed this behaviour before, how could I disable it?


检查clickedRow怎么样?

[self.outlineView clickedRow]
链接地址: http://www.djcxy.com/p/86574.html

上一篇: 当从Ember发布到后端时,CSRF不匹配

下一篇: 双击NSOutlineView的标题会触发双击