re-focus renderer (#1064)
- using the menu hotkeys was causing the renderer to somehow loose focus, preventing further hotkeys from working
This commit is contained in:
@@ -187,6 +187,7 @@ export default class MainPage extends React.Component {
|
|||||||
ipcRenderer.send('update-title', {
|
ipcRenderer.send('update-title', {
|
||||||
title: webview.getTitle(),
|
title: webview.getTitle(),
|
||||||
});
|
});
|
||||||
|
window.focus();
|
||||||
webview.focus();
|
webview.focus();
|
||||||
this.handleOnTeamFocused(newKey);
|
this.handleOnTeamFocused(newKey);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user