mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
Prevent creation of context menu twice for nested items of OutlineView
This commit is contained in:
parent
8be8bfcab2
commit
cf7b8f1a47
1 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue