redoList.push(command);
command.undoCommand();
- // HistoryItem nh,hi = (HistoryItem) historyList.pop();
- // redoList.push(nh=new HistoryItem(hi.getDescription(), viewport.alignment,
- // HistoryItem.HIDE));
- // if (hi.alColumnChanges!=null)
- // nh.alColumnChanges = hi.alColumnChanges.getInverse();
- // restoreHistoryItem(hi);
+
viewport.hasHiddenColumns = viewport.colSel.getHiddenColumns()!=null;
updateEditMenuBar();
viewport.firePropertyChange("alignment", null, viewport.getAlignment().getSequences());
{
CommandI command = (CommandI) redoList.pop();
historyList.push(command);
+ historyList.push(command);
command.doCommand();
viewport.hasHiddenColumns = viewport.colSel.getHiddenColumns()!=null;
- // HistoryItem nh,hi = (HistoryItem) redoList.pop();
- // historyList.push(nh=new HistoryItem(hi.getDescription(), viewport.alignment,
- // HistoryItem.HIDE));
- // if (hi.alColumnChanges!=null)
- // nh.alColumnChanges=hi.alColumnChanges.getInverse();
- // restoreHistoryItem(hi);
updateEditMenuBar();
viewport.firePropertyChange("alignment", null, viewport.getAlignment().getSequences());
}