Merge branch 'bug/JAL-2578' into develop
authorJim Procter <jprocter@issues.jalview.org>
Fri, 2 Jun 2017 16:11:15 +0000 (17:11 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 2 Jun 2017 16:11:15 +0000 (17:11 +0100)
1  2 
src/jalview/gui/AnnotationColumnChooser.java

@@@ -384,8 -387,17 +384,12 @@@ public class AnnotationColumnChooser ex
                    .addRegexSearchField(AnnotationFilterParameter.SearchableAnnotationField.DESCRIPTION);
          }
        }
 -      else
 -      {
 -        currentSearchPanel.description.setEnabled(false);
 -        currentSearchPanel.displayName.setEnabled(false);
 -      }
      }
  
+     // show hidden columns here, before changing the column selection in
+     // filterAnnotations, because showing hidden columns has the side effect of
+     // adding them to the selection
+     av.showAllHiddenColumns();
      av.getColumnSelection().filterAnnotations(
              getCurrentAnnotation().annotations, filterParams);