From e502b5b22325ef5d0b1f3f7a8bb75d708fb7a78c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 9 Oct 2014 16:06:36 +0100 Subject: [PATCH] patch fixes JAL-1558 --- src/jalview/gui/FeatureSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 304d352..662d7c6 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -101,7 +101,7 @@ public class FeatureSettings extends JPanel public void mousePressed(MouseEvent evt) { selectedRow = table.rowAtPoint(evt.getPoint()); - if (evt.isPopupTrigger()) + if (SwingUtilities.isRightMouseButton(evt)) { popupSort(selectedRow, (String) table.getValueAt(selectedRow, 0), table.getValueAt(selectedRow, 1), fr.minmax, evt.getX(), -- 1.7.10.2