From: jprocter Date: Tue, 8 Jun 2010 14:48:29 +0000 (+0000) Subject: followSelections flag now set via user preferences, and disabled for 2.5.1 * JAL... X-Git-Tag: Release_2_6~195 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6288934c2b3c469369bfb8ee09fea627dafd7776;p=jalview.git followSelections flag now set via user preferences, and disabled for 2.5.1 * JAL-574 and * JAL-576 --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index 5688ae1..1481666 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -124,6 +124,8 @@ import org.biojava.dasobert.dasregistry.Das1Source; * histogram. *
  • SHOW_CONSENSUS_LOGO (false) Show consensus annotation row's sequence * logo.
  • + *
  • FOLLOW_SELECTIONS (true) Controls whether a new alignment view should + * respond to selections made in other alignments containing the same sequences.
  • * *
  • * diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 0cbbdb4..2791ffc 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -433,6 +433,7 @@ public class AlignViewport implements SelectionSource showUnconserved = jalview.bin.Cache.getDefault("SHOW_UNCONSERVED", false); sortByTree = jalview.bin.Cache.getDefault("SORT_BY_TREE", false); + followSelection = jalview.bin.Cache.getDefault("FOLLOW_SELECTIONS", true); } /**