Allow featuresettings to be enabled on load
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 17:53:44 +0000 (17:53 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 17:53:44 +0000 (17:53 +0000)
src/jalview/gui/Jalview2XML.java
src/jalview/jbgui/GAlignFrame.java

index f49878c..28840e7 100755 (executable)
@@ -763,6 +763,7 @@ public class Jalview2XML
 \r
         if (view.getShowSequenceFeatures())\r
         {\r
+            af.featureSettings.setEnabled(true);\r
             af.viewport.showSequenceFeatures = true;\r
             af.sequenceFeatures.setSelected(true);\r
             new SequenceFeatureFetcher(al, af.alignPanel);\r
index 3cda5ad..84db85b 100755 (executable)
@@ -116,7 +116,7 @@ public class GAlignFrame
   JMenuItem vamsasStore = new JMenuItem();\r
   protected JCheckBoxMenuItem showTranslation = new JCheckBoxMenuItem();\r
   protected JTabbedPane tabbedPane = new JTabbedPane();\r
-  protected JMenuItem featureSettings = new JMenuItem();\r
+  public JMenuItem featureSettings = new JMenuItem();\r
   public JCheckBoxMenuItem seqDBRef = new JCheckBoxMenuItem();\r
 \r
   public GAlignFrame()\r