JAL-1332 - defer SSM provision to root provider for the alignment view
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 27 Aug 2013 14:40:50 +0000 (15:40 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 27 Aug 2013 14:40:50 +0000 (15:40 +0100)
src/jalview/gui/SeqPanel.java

index 86c52b3..94d5ca8 100644 (file)
@@ -129,8 +129,7 @@ public class SeqPanel extends JPanel implements MouseListener,
       addMouseMotionListener(this);
       addMouseListener(this);
       addMouseWheelListener(this);
-      ssm = StructureSelectionManager
-              .getStructureSelectionManager(Desktop.instance);
+      ssm = av.getStructureSelectionManager();
       ssm.addStructureViewerListener(this);
       ssm.addSelectionListener(this);
     }