From 47bbb25ec91be3ee864d7ee5393bcf7a19688f87 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 6 Sep 2015 17:43:04 +0100 Subject: [PATCH] JAL-1655 transfer setting option only displayed in development version of Jalview --- src/jalview/gui/AlignFrame.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); + } } -- 1.7.10.2