mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4441: Restore focus on main after shifting
This commit is contained in:
parent
f888bf7d7d
commit
a62eb6c042
@ -643,6 +643,8 @@ export class WindowHandler {
|
||||
|
||||
// workaround for https://perzoinc.atlassian.net/browse/SDA-4251
|
||||
this.mainWindow?.on('focus', () => {
|
||||
const mainView = this.getMainView();
|
||||
mainView?.webContents.focus();
|
||||
if (
|
||||
this.mainWindow &&
|
||||
windowExists(this.mainWindow) &&
|
||||
|
Loading…
Reference in New Issue
Block a user