X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FRedundancyPanel.java;h=ec896d596f591b07148f892554478e05e3750da8;hb=7cf75b5b379dd71b3480726419c7dc55d8e01f0e;hp=28532d06d336a6a4b9fae274b155dd6821806851;hpb=f5a779f10f361429eb273c55d66064a8cb1bf4e2;p=jalview.git diff --git a/src/jalview/gui/RedundancyPanel.java b/src/jalview/gui/RedundancyPanel.java index 28532d0..ec896d5 100755 --- a/src/jalview/gui/RedundancyPanel.java +++ b/src/jalview/gui/RedundancyPanel.java @@ -290,9 +290,9 @@ public class RedundancyPanel extends GSliderPanel implements Runnable CommandI command = (CommandI) historyList.pop(); command.undoCommand(); - if (af.historyList.contains(command)) + if (ap.av.historyList.contains(command)) { - af.historyList.remove(command); + ap.av.historyList.remove(command); af.updateEditMenuBar(); }