From a945d66821ae4639807a3f298d6a4fbc1fc0430e Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 23 Jun 2011 15:48:07 +0100 Subject: [PATCH] jmb isn't created yet, so use another SSM provider --- src/jalview/gui/AppJmol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index fdf00c0..e598e00 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -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) -- 1.7.10.2