提交 2936133e 编写于 作者: I isidor

Ignore stats which are selected but are part of the same compact node as the focused stat

fixes #86388
上级 e39717bd
...@@ -297,6 +297,11 @@ export class ExplorerView extends ViewletPane { ...@@ -297,6 +297,11 @@ export class ExplorerView extends ViewletPane {
for (const stat of this.tree.getSelection()) { for (const stat of this.tree.getSelection()) {
const controller = this.renderer.getCompressedNavigationController(stat); const controller = this.renderer.getCompressedNavigationController(stat);
if (controller && focusedStat && controller === this.compressedNavigationController && stat !== focusedStat) {
// Ignore stats which are selected but are part of the same compact node as the focused stat
continue;
}
if (controller) { if (controller) {
selectedStats.push(...controller.items); selectedStats.push(...controller.items);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册