JAL-2922 update FeatureRenderer and repaint feature settings after Invert Selection
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 16 Mar 2018 14:47:12 +0000 (14:47 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 16 Mar 2018 14:47:12 +0000 (14:47 +0000)
src/jalview/gui/FeatureSettings.java

index 5dffa2c..12f9db9 100644 (file)
@@ -966,7 +966,8 @@ public class FeatureSettings extends JPanel
     {
       data[i][2] = !(Boolean) data[i][2];
     }
-    af.alignPanel.paintAlignment(true, true);
+    updateFeatureRenderer(data, true);
+    table.repaint();
   }
 
   public void orderByAvWidth()