JAL-2632 Added paintAlignment(true) to show cols code
authorkiramt <k.mourao@dundee.ac.uk>
Fri, 28 Jul 2017 15:35:32 +0000 (17:35 +0200)
committerkiramt <k.mourao@dundee.ac.uk>
Fri, 28 Jul 2017 15:35:32 +0000 (17:35 +0200)
src/jalview/gui/AlignFrame.java

index f8da0db..2a4b6dc 100644 (file)
@@ -2945,7 +2945,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   public void showAllColumns_actionPerformed(ActionEvent e)
   {
     viewport.showAllHiddenColumns();
-    repaint();
+    alignPanel.paintAlignment(true);
     viewport.sendSelection();
   }
 
@@ -2953,7 +2953,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   public void hideSelSequences_actionPerformed(ActionEvent e)
   {
     viewport.hideAllSelectedSeqs();
-    // alignPanel.paintAlignment(true);
   }
 
   /**