select the first passed variant as before (not the first on the line)

This commit is contained in:
Egor Ushakov
2019-03-19 14:59:44 +03:00
parent 0e8a63cf3f
commit bf66a198b7
@@ -206,7 +206,7 @@ public class XDebuggerSmartStepIntoHandler extends XDebuggerSuspendedActionHandl
}
}
data.select(ContainerUtil.getFirstItem(data.myVariants));
data.myVariants.stream().filter(v -> v.myVariant.equals(variants.get(0))).findFirst().ifPresent(data::select);
session.updateExecutionPosition();
IdeFocusManager.getGlobalInstance().requestFocus(editor.getContentComponent(), true);