|
@@ -296,6 +296,8 @@ public class UpperNodeCanvas extends AbstractCanvas implements MouseListener, Mo
|
|
});
|
|
});
|
|
|
|
|
|
itemCopy.addActionListener(actionEvent -> {
|
|
itemCopy.addActionListener(actionEvent -> {
|
|
|
|
+ if(tempCps instanceof CpsUpperNode)
|
|
|
|
+ controller.getObjectsInDepth();
|
|
controller.copy(upperNode);
|
|
controller.copy(upperNode);
|
|
itemPaste.setEnabled(true);
|
|
itemPaste.setEnabled(true);
|
|
repaint();
|
|
repaint();
|