Fix merge conflict with #4619

This commit is contained in:
Scott Nonnenberg 2021-02-04 14:35:06 -08:00
parent b252aa788a
commit 6f861e0827

View file

@ -1278,13 +1278,6 @@ ipc.on('set-menu-bar-visibility', (event, visibility) => {
ipc.on('close-about', () => {
if (aboutWindow) {
// Exiting child window when on full screen mode (MacOs only) hides the main window
// Fix to issue #4540
if (mainWindow.isFullScreen() && OS.isMacOS()) {
mainWindow.setFullScreen(false);
mainWindow.show();
mainWindow.setFullScreen(true);
}
aboutWindow.close();
}
});