update a few menu.popup() calls to use the new API
This commit is contained in:
parent
35e90f742b
commit
708f39a1a5
3 changed files with 9 additions and 4 deletions
|
@ -63,7 +63,7 @@ const createMenu = function (x, y, items) {
|
|||
|
||||
// The menu is expected to show asynchronously.
|
||||
setTimeout(function () {
|
||||
menu.popup(remote.getCurrentWindow())
|
||||
menu.popup({window: remote.getCurrentWindow()})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue