diff --git a/prism/src/userinterface/simulator/GUISimulator.java b/prism/src/userinterface/simulator/GUISimulator.java index 8cceb7bf..b49ccbbf 100644 --- a/prism/src/userinterface/simulator/GUISimulator.java +++ b/prism/src/userinterface/simulator/GUISimulator.java @@ -1869,7 +1869,7 @@ public class GUISimulator extends GUIPlugin implements MouseListener, ListSelect public void doPopupDetection(MouseEvent e) { if (!computing) { - if (e.getClickCount() == 2 && e.getSource() == pathTablePlaceHolder || e.getSource() == tableScroll) { + if (e.getClickCount() == 2 && (e.getSource() == pathTablePlaceHolder || e.getSource() == tableScroll)) { if (newPath.isEnabled()) a_newPath(false); }