Prevent creation of context menu twice for nested items of OutlineView

This commit is contained in:
Juan Tejada 2016-01-28 01:35:29 -08:00
parent 8be8bfcab2
commit cf7b8f1a47

View file

@ -149,7 +149,8 @@ class OutlineViewItem extends Component {
}
}
_onShowContextMenu = ()=> {
_onShowContextMenu = (event)=> {
event.stopPropagation()
const item = this.props.item;
const name = item.name;
const {remote} = require('electron');