Merge develop to Release_2_8_3_Branch
[jalview.git] / src / jalview / appletgui / RedundancyPanel.java
index 4361445..c4a6989 100644 (file)
@@ -233,9 +233,9 @@ public class RedundancyPanel extends SliderPanel implements Runnable,
     CommandI command = (CommandI) historyList.pop();
     command.undoCommand(null);
 
-    if (ap.av.historyList.contains(command))
+    if (ap.av.getHistoryList().contains(command))
     {
-      ap.av.historyList.removeElement(command);
+      ap.av.getHistoryList().remove(command);
       ap.alignFrame.updateEditMenuBar();
       ap.av.firePropertyChange("alignment", null, ap.av.getAlignment().getSequences());
     }