Skip to content

Commit e8c8076

Browse files
Alberto Iannacconefstasi
Alberto Iannaccone
authored andcommitted
remove menu bar on windows/linux
1 parent 6ebc00b commit e8c8076

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-ide-extension/src/electron-main/theia/electron-main-application.ts

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
111111
},
112112
});
113113
event.newGuest = new BrowserWindow(options);
114+
event.newGuest.setMenu(null);
114115
event.newGuest?.on('closed', (e: any) => {
115116
electronWindow?.webContents.send('CLOSE_CHILD_WINDOW');
116117
});

0 commit comments

Comments
 (0)