Skip to content

Commit e373bdd

Browse files
authored
Remove duplicate enter handler (microsoft#160339)
Remove duplicate enter handler, fix microsoft#160191
1 parent a18cc47 commit e373bdd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/vs/workbench/contrib/debug/browser/debugActionViewItems.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ export class StartDebugActionViewItem extends BaseActionViewItem {
9999

100100
this.toDispose.push(dom.addDisposableListener(this.start, dom.EventType.KEY_DOWN, (e: KeyboardEvent) => {
101101
const event = new StandardKeyboardEvent(e);
102-
if (event.equals(KeyCode.Enter) && this.debugService.state !== State.Initializing) {
103-
this.actionRunner.run(this.action, this.context);
104-
}
105102
if (event.equals(KeyCode.RightArrow)) {
106103
this.start.tabIndex = -1;
107104
this.selectBox.focus();

0 commit comments

Comments
 (0)