JAL-1655 transfer setting option only displayed in development version of Jalview
authorJim Procter <jprocter@issues.jalview.org>
Sun, 6 Sep 2015 16:43:04 +0000 (17:43 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 6 Sep 2015 16:48:42 +0000 (17:48 +0100)
src/jalview/gui/AlignFrame.java

index f04744d..fbcecbe 100644 (file)
@@ -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);
+    }
 
   }