From: Jim Procter Date: Fri, 28 Jun 2013 16:40:05 +0000 (+0100) Subject: JAL-1336 stop example file from launching in plugin X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=738cb8eba9f66dd726fd69e02e6f7c76306de2e8;p=jalview.git JAL-1336 stop example file from launching in plugin --- 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",