From: Jim Procter Date: Tue, 27 Aug 2013 14:40:50 +0000 (+0100) Subject: JAL-1332 - defer SSM provision to root provider for the alignment view X-Git-Tag: Jalview_2_9~224^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a3fc7900ca2fd44261167a99f9ab2a0e85ea7aae;p=jalview.git JAL-1332 - defer SSM provision to root provider for the alignment view --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 86c52b3..94d5ca8 100644 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -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); }