From: gmungoc Date: Thu, 18 Jun 2015 16:09:32 +0000 (+0100) Subject: JAL-1695 default ENABLE_SPLIT_FRAME to true for desktop X-Git-Tag: Release_2_10_0~602 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1b806c7525927fc937d51b9eab81bd96a1eaa347;p=jalview.git JAL-1695 default ENABLE_SPLIT_FRAME to true for desktop (enableSplitFrame false for applet) --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index db61f77..9ad126f 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4845,7 +4845,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, // temporary flag until SplitFrame is released boolean asSplitFrame = Cache.getDefault( - Preferences.ENABLE_SPLIT_FRAME, false); + Preferences.ENABLE_SPLIT_FRAME, true); if (asSplitFrame) { /* @@ -4977,7 +4977,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, "label.translation_of_params", new Object[] { this.getTitle() }); af.setTitle(newTitle); - if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, false)) + if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, true)) { final SequenceI[] seqs = viewport.getSelectionAsNewSequence(); viewport.openSplitFrame(af, new Alignment(seqs), diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 2224021..16e3de7 100644 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -803,7 +803,7 @@ public class AlignViewport extends AlignmentViewport implements * If any cDNA/protein mappings can be made between the alignments, offer to * open a linked alignment with split frame option. */ - if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, false)) + if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, true)) { if (AlignmentUtils.isMappable(al, getAlignment())) {