mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests: ignore sub-selections in tree view (IDEA-114301)
This commit is contained in:
@@ -92,6 +92,7 @@ public abstract class TestTreeView extends Tree implements DataProvider, CopyPro
|
||||
if (paths != null && paths.length > 1) {
|
||||
final List<PsiElement> els = new ArrayList<PsiElement>(paths.length);
|
||||
for (TreePath path : paths) {
|
||||
if (isPathSelected(path.getParentPath())) continue;
|
||||
AbstractTestProxy test = getSelectedTest(path);
|
||||
if (test != null) {
|
||||
final PsiElement psiElement = (PsiElement)TestsUIUtil.getData(test, CommonDataKeys.PSI_ELEMENT.getName(), myModel);
|
||||
|
||||
Reference in New Issue
Block a user