Fix MenusController.cs

This commit is contained in:
ThrDev
2020-04-26 19:36:16 -04:00
parent e67f6c500b
commit e295558258

View File

@@ -112,13 +112,13 @@ namespace ElectronNET.WebApp.Controllers
new MenuItem { Label = "Electron.NET", Type = MenuType.checkbox, Checked = true }
};
/*var mainWindow = Electron.WindowManager.BrowserWindows.First();
var mainWindow = Electron.WindowManager.BrowserWindows.First();
Electron.Menu.SetContextMenu(mainWindow, menu);
Electron.IpcMain.On("show-context-menu", (args) =>
{
Electron.Menu.ContextMenuPopup(mainWindow);
});*/
});
}
}
}