JAL-2922 [2] not [1] for Boolean column of table bugs/JAL-2922
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 7 Mar 2018 12:04:58 +0000 (12:04 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 7 Mar 2018 12:04:58 +0000 (12:04 +0000)
src/jalview/gui/FeatureSettings.java

index 6130ef8..5dffa2c 100644 (file)
@@ -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);
   }