Skip to content

Commit

Permalink
re-focus renderer (#1064)
Browse files Browse the repository at this point in the history
- using the menu hotkeys was causing the renderer to somehow loose focus, preventing further hotkeys from working
  • Loading branch information
deanwhillier committed Oct 11, 2019
1 parent 0aa1f0f commit 5c85042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/components/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5c85042

Please sign in to comment.