From: jprocter Date: Thu, 21 Apr 2011 14:51:08 +0000 (+0000) Subject: patch for JAL-820 and JAL-821 X-Git-Tag: Release_2_7~214 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=66616c7a1c2e1d72e98573258b14cd23b5e45ea7;p=jalview.git patch for JAL-820 and JAL-821 --- diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 740a13a..6626016 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -197,11 +197,6 @@ public class AnnotationLabels extends JPanel implements MouseListener, else if (evt.getActionCommand().equals(HIDE)) { aa[selectedRow].visible = false; - - if (aa[selectedRow].label.equals("Quality")) - { - ap.av.quality = null; - } } else if (evt.getActionCommand().equals(DELETE)) { @@ -245,9 +240,11 @@ public class AnnotationLabels extends JPanel implements MouseListener, aa[selectedRow].scaleColLabel = !aa[selectedRow].scaleColLabel; } - ap.annotationPanel.adjustPanelHeight(); - ap.annotationScroller.validate(); - ap.paintAlignment(true); + ap.validateAnnotationDimensions(false); + ap.addNotify(); + ap.repaint(); + //validate(); + //ap.paintAlignment(true); } /**