{
this.setDropTarget(new java.awt.dnd.DropTarget(this, this));
- if (viewport.vconsensus == null)
+ if (viewport.hconsensus == null)
{
//Out of memory calculating consensus.
BLOSUM62Colour.setEnabled(false);
*/
void updateEditMenuBar()
{
- if (historyList.size() > 0)
+ /* if (historyList.size() > 0)
{
undoMenuItem.setEnabled(true);
{
redoMenuItem.setEnabled(false);
redoMenuItem.setText("Redo");
- }
+ }*/
}
/**
if (av.padGaps)
av.getAlignment().padGaps();
- if (av.vconsensus != null && av.autoCalculateConsensus)
+ if (av.hconsensus != null && av.autoCalculateConsensus)
{
av.updateConsensus();
av.updateConservation();
viewport.alignment.getWidth());
}
- cs.setConsensus(viewport.vconsensus);
+ cs.setConsensus(viewport.hconsensus);
if (cs.conservationApplied())
{
Alignment al = (Alignment) viewport.alignment;
cs.setConservation(null);
}
- cs.setConsensus(viewport.vconsensus);
+ cs.setConsensus(viewport.hconsensus);
}
viewport.setGlobalColourScheme(cs);