Skip to content

Commit 0ca29c5

Browse files
committed
pass context to open editor.
1 parent 6a02064 commit 0ca29c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/browser/parts/editor/editorGroupView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
11711171
}));
11721172

11731173
// A move to another group is an open first...
1174-
target.openEditor(editor, options);
1174+
target.openEditor(editor, options, keepCopy ? OpenEditorInGroupContext.COPY_EDITOR : OpenEditorInGroupContext.MOVE_EDITOR);
11751175

11761176
// ...and a close afterwards (unless we copy)
11771177
if (!keepCopy) {

0 commit comments

Comments
 (0)