This commit is contained in:
anna
2010-10-04 16:02:12 +04:00
parent f5fd73d619
commit a4a2571aa7
@@ -540,12 +540,14 @@ public class SingleInspectionProfilePanel extends JPanel {
public void treeExpanded(TreeExpansionEvent event) {
InspectionProfileImpl selected = mySelectedProfile;
String nodeTitle = getExpandedString(event.getPath());
final InspectionProfileImpl parentProfile = (InspectionProfileImpl)selected.getParentProfile();
if (parentProfile != null) {
parentProfile.getExpandedNodes().expandNode(nodeTitle);
if (selected != null) {
String nodeTitle = getExpandedString(event.getPath());
final InspectionProfileImpl parentProfile = (InspectionProfileImpl)selected.getParentProfile();
if (parentProfile != null) {
parentProfile.getExpandedNodes().expandNode(nodeTitle);
}
selected.getExpandedNodes().expandNode(nodeTitle);
}
selected.getExpandedNodes().expandNode(nodeTitle);
}
});