mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
Stop pane from stealing focus from first selected item
This commit is contained in:
parent
4cee176f2c
commit
0bdd850317
|
@ -333,7 +333,6 @@ export class AppMenu extends React.Component<IAppMenuProps, {}> {
|
|||
if (this.focusPane >= 0) {
|
||||
const pane = this.paneRefs[this.focusPane]
|
||||
if (pane) {
|
||||
pane.focus()
|
||||
this.focusPane = -1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue