From: jprocter Date: Tue, 8 Jun 2010 14:48:25 +0000 (+0000) Subject: followSelections flag now set via user preferences, and disabled for 2.5.1 * JAL... X-Git-Tag: Release_2_5_1~19 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1a699d598db807829bbf3e4d9dcd7f7e6c373f76;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..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); } /**