From 2ffc82adf2a64d0e27d4ccd84d72ba70a90ed0c8 Mon Sep 17 00:00:00 2001 From: apvrille <ludovic.apvrille@eurecom.fr> Date: Tue, 10 Sep 2019 14:59:30 +0200 Subject: [PATCH] Resolving right click bug on simulation trace --- src/main/java/ui/tree/JDiagramTree.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ui/tree/JDiagramTree.java b/src/main/java/ui/tree/JDiagramTree.java index 14b9f46306..6e64906f45 100755 --- a/src/main/java/ui/tree/JDiagramTree.java +++ b/src/main/java/ui/tree/JDiagramTree.java @@ -261,8 +261,9 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M if (selectedST.getType() == SimulationTrace.XML_DIPLO) { jmiCompareST = new JMenuItem("Compare"); jmiCompareST.addActionListener(this); + popupTreeST.add(jmiCompareST); } - popupTreeST.add(jmiCompareST); + //} -- GitLab