From: Jim Procter Date: Sun, 6 Sep 2015 16:43:04 +0000 (+0100) Subject: JAL-1655 transfer setting option only displayed in development version of Jalview X-Git-Tag: Release_2_10_0~483 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47bbb25ec91be3ee864d7ee5393bcf7a19688f87;p=jalview.git JAL-1655 transfer setting option only displayed in development version of Jalview --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index f04744d..fbcecbe 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -455,7 +455,13 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, } } }); - formatMenu.add(vsel); + if (Cache.getDefault("VERSION", "DEVELOPMENT").toLowerCase() + .indexOf("devel") > -1 + || Cache.getDefault("VERSION", "DEVELOPMENT").toLowerCase() + .indexOf("test") > -1) + { + formatMenu.add(vsel); + } }