From e716284ee3824cfc190e43eaa4f9335e3ac75637 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 3787efa..95a18d4 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -99,7 +99,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