提交 ea75c05c 编写于 作者: B Benjamin Pasero

use getActiveEditor when editor is meant

上级 284840d2
......@@ -964,7 +964,7 @@ export class SearchViewlet extends Viewlet {
}
// Open focused element from results in case the editor area is otherwise empty
if (visible && !this.editorService.getActiveEditorInput()) {
if (visible && !this.editorService.getActiveEditor()) {
let focus = this.tree.getFocus();
if (focus) {
this.onFocus(focus, false, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册