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:
Dean Whillier
2019-10-11 09:17:51 -04:00
committed by GitHub
parent da4ae94c8b
commit e4044f533d

View File

@@ -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);
}