Focus on the main window when the about window is closed
This commit is contained in:
parent
35ee57483a
commit
0c2c081ab0
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ export function createAboutWindow() {
|
||||||
});
|
});
|
||||||
|
|
||||||
aboutWindow.on("closed", () => {
|
aboutWindow.on("closed", () => {
|
||||||
|
mainWindow.show();
|
||||||
|
mainWindow.focus();
|
||||||
aboutWindow = null;
|
aboutWindow = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue