From: Jim Procter Date: Thu, 9 Oct 2014 15:06:36 +0000 (+0100) Subject: patch fixes JAL-1558 X-Git-Tag: Release_2_8_2~3^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e716284ee3824cfc190e43eaa4f9335e3ac75637;p=jalview.git patch fixes JAL-1558 --- 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(),