+ /*
+ * Enable 'scale protein as cDNA' in protein half of a SplitFrame view. The
+ * selection is stored in the ViewStyle of the Viewport
+ */
+ if (ap.av.getCodingComplement() != null
+ && !ap.av.getAlignment().isNucleotide())
+ {
+ scaleAsCdna.setVisible(true);
+ scaleAsCdna.setSelected(ap.av.isScaleProteinAsCdna());
+ }
+