mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
fix: don't crash on tray.setContextMenu(null) (#14322)
This commit is contained in:
committed by
Charles Kerr
parent
fd27d75129
commit
a08ca9defb
@@ -275,7 +275,7 @@ The `position` is only available on Windows, and it is (0, 0) by default.
|
||||
|
||||
#### `tray.setContextMenu(menu)`
|
||||
|
||||
* `menu` Menu
|
||||
* `menu` Menu | null
|
||||
|
||||
Sets the context menu for this icon.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user