JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / gui / CrossRefAction.java
index 2ee741b..f607686 100644 (file)
@@ -440,7 +440,7 @@ public class CrossRefAction implements Runnable
      * register any new mappings for sequence mouseover etc
      * (will not duplicate any previously registered mappings)
      */
-    Desktop.getInstance().getStructureSelectionManager()
+    Desktop.getStructureSelectionManager()
             .registerMappings(dataset.getCodonFrames());
 
     if (copyAlignment.getHeight() <= 0)