fix hierarchy display
This commit is contained in:
parent
156abe63cd
commit
799f083a74
|
@ -226,14 +226,13 @@ public class WaveformDb extends HierNode implements IWaveformDb, PropertyChangeL
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (childNode != null) {
|
if (childNode == null) {
|
||||||
|
HierNode newNode = new HierNode(name, node);
|
||||||
|
node.addChild(newNode);
|
||||||
|
node = newNode;
|
||||||
|
} else {
|
||||||
node = childNode;
|
node = childNode;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
HierNode newNode = new HierNode(name, node);
|
|
||||||
node.addChild(newNode);
|
|
||||||
node = newNode;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
node.addChild(waveform);
|
node.addChild(waveform);
|
||||||
waveform.setParent(node);
|
waveform.setParent(node);
|
||||||
|
|
Loading…
Reference in New Issue