From: gmungoc Date: Wed, 7 Mar 2018 12:04:58 +0000 (+0000) Subject: JAL-2922 [2] not [1] for Boolean column of table X-Git-Tag: Release_2_10_4~49^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbugs%2FJAL-2922;p=jalview.git JAL-2922 [2] not [1] for Boolean column of table --- diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 6130ef8..5dffa2c 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -964,7 +964,7 @@ public class FeatureSettings extends JPanel Object[][] data = ((FeatureTableModel) table.getModel()).getData(); for (int i = 0; i < data.length; i++) { - data[i][1] = !(Boolean) data[i][1]; + data[i][2] = !(Boolean) data[i][2]; } af.alignPanel.paintAlignment(true, true); }