Mapping to PDB added
[jalview.git] / src / jalview / appletgui / AlignmentPanel.java
index 7332a1a..44370d4 100755 (executable)
@@ -204,14 +204,7 @@ public class AlignmentPanel
     while (i < al.getHeight() && al.getSequenceAt(i) != null)\r
     {\r
       SequenceI s = al.getSequenceAt(i);\r
-      if (av.getShowFullId())\r
-      {\r
-        id = s.getDisplayId();\r
-      }\r
-      else\r
-      {\r
-        id = s.getName();\r
-      }\r
+      id = s.getDisplayId(av.getShowDBPrefix(), av.getShowJVSuffix());\r
 \r
       if (fm.stringWidth(id) > idWidth)\r
       {\r