Commented out for compilation
[jalview.git] / src / jalview / appletgui / RedundancyPanel.java
index 5037a50..7ceb570 100755 (executable)
@@ -193,14 +193,14 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList
     }\r
   public void applyButton_actionPerformed()\r
   {\r
-    historyList.push(new HistoryItem("Remove redundancy",\r
-                        ap.av.alignment, HistoryItem.HIDE));\r
+   // historyList.push(new HistoryItem("Remove redundancy",\r
+   //                     ap.av.alignment, HistoryItem.HIDE));\r
 \r
             if ((historyList.size() == 1) ||\r
                     !ap.alignFrame.historyList.contains(historyList.firstElement()))\r
             {\r
-                ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement());\r
-                ap.alignFrame.updateEditMenuBar();\r
+      //          ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement());\r
+     //           ap.alignFrame.updateEditMenuBar();\r
             }\r
 \r
             Vector del = new Vector();\r
@@ -243,8 +243,8 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList
 \r
   public void undoButton_actionPerformed()\r
   {\r
-    HistoryItem hi = (HistoryItem) historyList.pop();\r
-    ap.alignFrame.restoreHistoryItem(hi);\r
+  //  HistoryItem hi = (HistoryItem) historyList.pop();\r
+  //  ap.alignFrame.restoreHistoryItem(hi);\r
 \r
     if (historyList.size() == 0)\r
     {\r