This commit is contained in:
Benjamin Pasero 2016-09-13 11:47:28 +02:00
parent 1aea998b48
commit a6b89e14f8

View file

@ -150,10 +150,10 @@ export class FocusActiveGroupAction extends Action {
}
public run(): TPromise<any> {
const activeEditor = this.editorService.getActiveEditor();
if (activeEditor) {
const activeEditor = this.editorService.getActiveEditor();
if (activeEditor) {
activeEditor.focus();
}
}
return TPromise.as(true);
}