Merge remote-tracking branch 'origin/develop' into bug/JAL-2591 bug/JAL-2591
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 15 Jun 2017 10:54:40 +0000 (11:54 +0100)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 15 Jun 2017 10:54:40 +0000 (11:54 +0100)
1  2 
src/jalview/appletgui/AnnotationColumnChooser.java
src/jalview/gui/AnnotationColumnChooser.java

@@@ -306,10 -307,10 +306,11 @@@ public class AnnotationColumnChooser ex
              av.hideColumns(positions[0], positions[1]);
            }
          }
 +        // TODO not clear why we need to hide all the columns (above) if we are
 +        // going to copy the hidden columns over wholesale anyway
          av.getAlignment().setHiddenColumns(oldHidden);
        }
+       av.sendSelection();
        ap.paintAlignment(true);
      }
  
@@@ -252,13 -253,12 +252,13 @@@ public class AnnotationColumnChooser ex
              av.hideColumns(positions[0], positions[1]);
            }
          }
 +        // TODO not clear why we need to hide all the columns (above) if we are
 +        // going to copy the hidden columns over wholesale anyway
          av.getAlignment().setHiddenColumns(oldHidden);
        }
+       av.sendSelection();
        ap.paintAlignment(true);
      }
    }
  
    @Override