提交 e5e35892 编写于 作者: J Jackson Kearl

Remove double search on glob enter

上级 74e3cf23
......@@ -170,7 +170,7 @@ export class PatternInputWidget extends Widget {
private onInputKeyUp(keyboardEvent: IKeyboardEvent) {
switch (keyboardEvent.keyCode) {
case KeyCode.Enter:
this._onSubmit.fire(false);
this.searchOnTypeDelayer.trigger(() => this._onSubmit.fire(false), 0);
return;
case KeyCode.Escape:
this._onCancel.fire();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册