mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 07:28:20 -04:00
selection disabled in the tree view
This commit is contained in:
parent
03eb547b0d
commit
8af6a58408
@ -45,7 +45,6 @@ public class SelectTree extends JTree {
|
||||
if (path != null && path.getPathCount() > 0) {
|
||||
LibraryNode node = (LibraryNode) path.getLastPathComponent();
|
||||
if (node.isLeaf() && node.isUnique()) {
|
||||
clearSelection();
|
||||
try {
|
||||
ElementTypeDescription d = node.getDescription();
|
||||
component.setPartToInsert(new VisualElement(d.getName()).setShapeFactory(shapeFactory));
|
||||
|
Loading…
x
Reference in New Issue
Block a user