From 738cb8eba9f66dd726fd69e02e6f7c76306de2e8 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 28 Jun 2013 17:40:05 +0100 Subject: [PATCH] JAL-1336 stop example file from launching in plugin --- src/jalview/bin/Jalview.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 142b4c3..2920e37 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -36,6 +36,7 @@ import java.util.*; import javax.swing.*; +import jalview.bin.Cache; import jalview.gui.*; import jalview.util.Platform; @@ -517,7 +518,7 @@ public class Jalview // And the user // //////////////////// if (!headless && file == null && vamsasImport == null - && jalview.bin.Cache.getDefault("SHOW_STARTUP_FILE", true)) + && !Cache.isPlugin() && jalview.bin.Cache.getDefault("SHOW_STARTUP_FILE", true)) { file = jalview.bin.Cache.getDefault( "STARTUP_FILE", -- 1.7.10.2