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', {
|
||||
title: webview.getTitle(),
|
||||
});
|
||||
window.focus();
|
||||
webview.focus();
|
||||
this.handleOnTeamFocused(newKey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user