From 87c3c5cc162db7968aa8aa726fca9f362f8a765c Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Tue, 26 Nov 2024 14:11:28 +0100 Subject: [PATCH] AT-1729 ExpandMenuCommand throws exceptions GitOrigin-RevId: 22782f985c0d9287fa2ceee2c5c00e8bf5765897 --- .../jetbrains/performancePlugin/commands/ExpandMenuCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/commands/ExpandMenuCommand.java b/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/commands/ExpandMenuCommand.java index 6041ab5dcb2f..8b281ae5c410 100644 --- a/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/commands/ExpandMenuCommand.java +++ b/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/commands/ExpandMenuCommand.java @@ -42,7 +42,7 @@ abstract public class ExpandMenuCommand extends AbstractCallbackBasedCommand { ActionPlaces.isPopupPlace(getPlace()) ? ActionUiKind.POPUP : ActionUiKind.NONE); groupSpan.end(); return actions; - }).withRoots(mainMenu.getChildren(null)).traverse().size(); + }).withRoots(mainMenu).traverse().size(); totalSpan.end(); callback.setDone(); }