Skip to content

Commit e295558

Browse files
committed
Fix MenusController.cs
1 parent e67f6c5 commit e295558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ElectronNET.WebApp/Controllers/MenusController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ private void CreateContextMenu()
112112
new MenuItem { Label = "Electron.NET", Type = MenuType.checkbox, Checked = true }
113113
};
114114

115-
/*var mainWindow = Electron.WindowManager.BrowserWindows.First();
115+
var mainWindow = Electron.WindowManager.BrowserWindows.First();
116116
Electron.Menu.SetContextMenu(mainWindow, menu);
117117

118118
Electron.IpcMain.On("show-context-menu", (args) =>
119119
{
120120
Electron.Menu.ContextMenuPopup(mainWindow);
121-
});*/
121+
});
122122
}
123123
}
124124
}

0 commit comments

Comments
 (0)