testing: don't go to source location when expanding/collapsing nodes
Fixes #117479
This commit is contained in:
parent
c5edf95dc6
commit
5713f28801
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ export class TestingExplorerViewModel extends Disposable {
|
|||
this.onDidChangeSelection = this.tree.onDidChangeSelection;
|
||||
this._register(this.tree.onDidChangeSelection(evt => {
|
||||
const selected = evt.elements[0];
|
||||
if (selected && evt.browserEvent) {
|
||||
if (selected && evt.browserEvent && !selected.children.size) {
|
||||
this.openEditorForItem(selected);
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue