From: gmungoc Date: Tue, 21 Jun 2016 14:27:33 +0000 (+0100) Subject: JAL-2074 suppress prompt to save closed Groovy script on Jalview Quit X-Git-Tag: Release_2_10_0~161^2^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a23bc2c30984fff99d0065fdb93799e2eee87e1b;p=jalview.git JAL-2074 suppress prompt to save closed Groovy script on Jalview Quit --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 45a52ee..d54e553 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -1184,6 +1184,8 @@ public class Desktop extends jalview.jbgui.GDesktop implements if (groovyConsole != null) { + // suppress a possible repeat prompt to save script + groovyConsole.setDirty(false); groovyConsole.exit(); } System.exit(0);