mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-720 - Set menu to null (#513)
This commit is contained in:
committed by
Vishwas Shashidhar
parent
bae410ebbb
commit
0d44901180
@@ -105,6 +105,10 @@ function openBasicAuthWindow(windowName, hostname, isValidCredentials, clearSett
|
||||
initCrashReporterRenderer(basicAuthWindow, { process: 'render | basic auth window' });
|
||||
basicAuthWindow.webContents.send('hostname', hostname);
|
||||
basicAuthWindow.webContents.send('isValidCredentials', isValidCredentials);
|
||||
if (!isMac) {
|
||||
// prevents from displaying menu items when "alt" key is pressed
|
||||
basicAuthWindow.setMenu(null);
|
||||
}
|
||||
});
|
||||
|
||||
basicAuthWindow.webContents.on('crashed', function () {
|
||||
|
||||
Reference in New Issue
Block a user