Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Aug 1, 2018
1 parent 9f6b201 commit 656e740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/parts/preferences/browser/settingsWidgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ export class ExcludeSettingWidget extends Disposable {
const onKeydown = (e: StandardKeyboardEvent) => {
if (e.equals(KeyCode.Enter)) {
onSubmit(true);
} else if (e.equals(KeyCode.Escape)) {
onSubmit(false);
e.preventDefault();
}
};

Expand Down

0 comments on commit 656e740

Please sign in to comment.