JAL-3187 applet alignFrame needs new api method
authorJim Procter <jprocter@issues.jalview.org>
Wed, 12 Feb 2020 17:53:54 +0000 (17:53 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 12 Feb 2020 17:53:54 +0000 (17:53 +0000)
src/jalview/appletgui/AlignFrame.java

index 3bb5fe8..f6bbe14 100644 (file)
@@ -1203,7 +1203,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,
     }
     else if (source == featureSettings)
     {
-      new FeatureSettings(alignPanel);
+      showFeatureSettingsUI();
     }
     else if (source == alProperties)
     {
@@ -4338,4 +4338,10 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,
     return alignPanel.av.featureSettings;
   }
 
+  @Override
+  public FeatureSettingsControllerI showFeatureSettingsUI()
+  {
+    return new FeatureSettings(alignPanel);
+  }
+
 }