JAL-1332 - defer SSM provision to root provider for the alignment view
[jalview.git] / 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);
     }