X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FRedundancyPanel.java;h=3901b1f23803004291025e46cf7ebf4a35be08aa;hb=c24071f7b9e6b70c94743214677871ae2dc88499;hp=17b5dfa87b9cedfe1f2c4033a312ab81c8b03fa1;hpb=efc31b4a8d5cee63555586804a2b79c06bdb5a14;p=jalview.git diff --git a/src/jalview/gui/RedundancyPanel.java b/src/jalview/gui/RedundancyPanel.java index 17b5dfa..3901b1f 100755 --- a/src/jalview/gui/RedundancyPanel.java +++ b/src/jalview/gui/RedundancyPanel.java @@ -75,8 +75,7 @@ public class RedundancyPanel extends GSliderPanel { float threshold = slider.getValue(); Vector del; - HistoryItem it; - historyList.push(it = new HistoryItem("Remove redundancy", + historyList.push(new HistoryItem("Remove redundancy", ap.av.alignment, HistoryItem.HIDE)); if ((historyList.size() == 1) || @@ -127,9 +126,9 @@ public class RedundancyPanel extends GSliderPanel } } - ap.av.firePropertyChange("alignment", null, - ap.av.getAlignment().getSequences()); - ap.av.resetSeqLimits(ap.seqPanel.seqCanvas.getHeight()); + ap.av.firePropertyChange("alignment", null, ap.av.getAlignment().getSequences()); + af.updateEditMenuBar(); + if (ap.av.getAlignment().getHeight() < 1) { @@ -141,11 +140,6 @@ public class RedundancyPanel extends GSliderPanel { } } - - ap.av.updateConservation(); - ap.av.updateConsensus(); - af.updateEditMenuBar(); - ap.repaint(); } /**