From 7a31d66d2c47601b56cabe036f796ae2e5c4d0d3 Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Fri, 14 Jun 2019 14:00:28 -0700 Subject: [PATCH] ensure we set group for both editors (#6016) --- src/sql/workbench/parts/query/browser/queryEditor.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sql/workbench/parts/query/browser/queryEditor.ts b/src/sql/workbench/parts/query/browser/queryEditor.ts index 961992167d..4309ccb39c 100644 --- a/src/sql/workbench/parts/query/browser/queryEditor.ts +++ b/src/sql/workbench/parts/query/browser/queryEditor.ts @@ -294,7 +294,8 @@ export class QueryEditor extends BaseEditor { * Sets this editor and the 2 sub-editors to visible. */ public setEditorVisible(visible: boolean, group: IEditorGroup): void { - this.currentTextEditor.setVisible(visible, group); + this.textFileEditor.setVisible(visible, group); + this.textResourceEditor.setVisible(visible, group); this.resultsEditor.setVisible(visible, group); super.setEditorVisible(visible, group);