X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fappletgui%2FRedundancyPanel.java;h=7ceb57094458acb4cc74866aded378704c44d56f;hb=91d2b7cf873f1437a3e21049c5aa6c7a7117e820;hp=5037a501146653e94b68c1d9a16ccaa93cf5c9a4;hpb=174230b4233d9ce80f94527768d2cd2f76da11ab;p=jalview.git diff --git a/src/jalview/appletgui/RedundancyPanel.java b/src/jalview/appletgui/RedundancyPanel.java index 5037a50..7ceb570 100755 --- a/src/jalview/appletgui/RedundancyPanel.java +++ b/src/jalview/appletgui/RedundancyPanel.java @@ -193,14 +193,14 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList } public void applyButton_actionPerformed() { - historyList.push(new HistoryItem("Remove redundancy", - ap.av.alignment, HistoryItem.HIDE)); + // historyList.push(new HistoryItem("Remove redundancy", + // ap.av.alignment, HistoryItem.HIDE)); if ((historyList.size() == 1) || !ap.alignFrame.historyList.contains(historyList.firstElement())) { - ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement()); - ap.alignFrame.updateEditMenuBar(); + // ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement()); + // ap.alignFrame.updateEditMenuBar(); } Vector del = new Vector(); @@ -243,8 +243,8 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList public void undoButton_actionPerformed() { - HistoryItem hi = (HistoryItem) historyList.pop(); - ap.alignFrame.restoreHistoryItem(hi); + // HistoryItem hi = (HistoryItem) historyList.pop(); + // ap.alignFrame.restoreHistoryItem(hi); if (historyList.size() == 0) {