mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-30 12:34:26 +00:00
implement the API Demo-App complete. Implement the Clipboard-, Screen- and WebContents-API. Fix some bugs. Edit the Readme.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace ElectronNET.API.Extensions
|
||||
AddMenuItemsId(menuItem.Submenu);
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(menuItem.Id))
|
||||
if (string.IsNullOrEmpty(menuItem.Id) && menuItem.Click != null)
|
||||
{
|
||||
menuItem.Id = Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user