jmb isn't created yet, so use another SSM provider
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 23 Jun 2011 14:48:07 +0000 (15:48 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 23 Jun 2011 14:48:07 +0000 (15:48 +0100)
src/jalview/gui/AppJmol.java

index fdf00c0..e598e00 100644 (file)
@@ -233,7 +233,7 @@ public class AppJmol extends GStructureViewer implements Runnable,
     progressBar = ap.alignFrame;
     // ////////////////////////////////
     // Is the pdb file already loaded?
-    String alreadyMapped = jmb.ssm.alreadyMappedToFile(
+    String alreadyMapped = ap.getStructureSelectionManager().alreadyMappedToFile(
                     pdbentry.getId());
 
     if (alreadyMapped != null)