We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67f6c5 commit e295558Copy full SHA for e295558
ElectronNET.WebApp/Controllers/MenusController.cs
@@ -112,13 +112,13 @@ private void CreateContextMenu()
112
new MenuItem { Label = "Electron.NET", Type = MenuType.checkbox, Checked = true }
113
};
114
115
- /*var mainWindow = Electron.WindowManager.BrowserWindows.First();
+ var mainWindow = Electron.WindowManager.BrowserWindows.First();
116
Electron.Menu.SetContextMenu(mainWindow, menu);
117
118
Electron.IpcMain.On("show-context-menu", (args) =>
119
{
120
Electron.Menu.ContextMenuPopup(mainWindow);
121
- });*/
+ });
122
}
123
124
0 commit comments