From a3fc7900ca2fd44261167a99f9ab2a0e85ea7aae Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 27 Aug 2013 15:40:50 +0100 Subject: [PATCH] JAL-1332 - defer SSM provision to root provider for the alignment view --- src/jalview/gui/SeqPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 1.7.10.2