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