From 1a699d598db807829bbf3e4d9dcd7f7e6c373f76 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 8 Jun 2010 14:48:25 +0000 Subject: [PATCH] followSelections flag now set via user preferences, and disabled for 2.5.1 * JAL-574 and * JAL-576 --- src/jalview/bin/Cache.java | 4 +++- src/jalview/gui/AlignViewport.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index 5688ae1..2418910 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 (false) Controls whether a new alignment view should + * respond to selections made in other alignments containing the same sequences.
  • * *
  • * @@ -170,7 +172,7 @@ public class Cache public static void initLogger() { - if (log!=null) + if (log != null) { return; } diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 0cbbdb4..a44afa3 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -433,6 +433,8 @@ public class AlignViewport implements SelectionSource showUnconserved = jalview.bin.Cache.getDefault("SHOW_UNCONSERVED", false); sortByTree = jalview.bin.Cache.getDefault("SORT_BY_TREE", false); + // disabled by default for 2.5.1 release + followSelection = jalview.bin.Cache.getDefault("FOLLOW_SELECTIONS", false); } /** -- 1.7.10.2