Normand Briere
2019-10-20 49d9c15d375942997692f7fccfb697665d0cb59e
cTree.java
....@@ -21,7 +21,7 @@
2121 public void mousePressed(MouseEvent e)
2222 {
2323 //if (e.isPopupTrigger()) // Works only on mouse released on Windows.
24
- if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK)
24
+ if (e.getModifiers() == InputEvent.BUTTON3_MASK)
2525 {
2626 int row = getClosestRowForLocation(e.getX(), e.getY());
2727 if (!isRowSelected(row))