Skip to content

Commit

Permalink
debug: do not open deemphesized sources in editor
Browse files Browse the repository at this point in the history
fixes #20622
  • Loading branch information
isidorn committed Feb 15, 2017
1 parent fce3d86 commit a731d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/parts/debug/common/debugModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class StackFrame implements debug.IStackFrame {
}

public openInEditor(editorService: IWorkbenchEditorService, preserveFocus?: boolean, sideBySide?: boolean): TPromise<any> {
return editorService.openEditor({
return this.source.deemphasize ? TPromise.as(true) : editorService.openEditor({
resource: this.source.uri,
description: this.source.origin,
options: {
Expand Down

0 comments on commit a731d39

Please sign in to comment.