From: amwaterhouse Date: Thu, 10 Nov 2005 17:53:44 +0000 (+0000) Subject: Allow featuresettings to be enabled on load X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=74e9e0c2069b31dd5b60df42e5b4e3b814f4b875;p=jalview.git Allow featuresettings to be enabled on load --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index f49878c..28840e7 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -763,6 +763,7 @@ public class Jalview2XML if (view.getShowSequenceFeatures()) { + af.featureSettings.setEnabled(true); af.viewport.showSequenceFeatures = true; af.sequenceFeatures.setSelected(true); new SequenceFeatureFetcher(al, af.alignPanel); diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 3cda5ad..84db85b 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -116,7 +116,7 @@ public class GAlignFrame JMenuItem vamsasStore = new JMenuItem(); protected JCheckBoxMenuItem showTranslation = new JCheckBoxMenuItem(); protected JTabbedPane tabbedPane = new JTabbedPane(); - protected JMenuItem featureSettings = new JMenuItem(); + public JMenuItem featureSettings = new JMenuItem(); public JCheckBoxMenuItem seqDBRef = new JCheckBoxMenuItem(); public GAlignFrame()