From: Jim Procter Date: Wed, 20 Apr 2016 10:56:57 +0000 (+0100) Subject: fix for JAL-2072 X-Git-Tag: Release_2_10_0~249^2~7^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6e03093cc1fa546cb12cebcd2df4a7004c81b928;p=jalview.git fix for JAL-2072 --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index cb769bb..28ff0a1 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4124,7 +4124,9 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, { JMenuItem tm = new JMenuItem(); ScoreModelI sm = ResidueProperties.scoreMatrices.get(pwtype); - if (sm.isProtein() == !viewport.getAlignment().isNucleotide()) + if (sm.isDNA() == viewport.getAlignment().isNucleotide() + || sm.isProtein() == !viewport.getAlignment() + .isNucleotide()) { String smn = MessageManager.getStringOrReturn( "label.score_model_", sm.getName());