JAL-1988 JAL-3772 Allow other window closing dialogs to cancel quit handling
[jalview.git] / src / jalview / gui / QuitHandler.java
index 429de55..e90a2d5 100644 (file)
@@ -402,4 +402,9 @@ public class QuitHandler
             .append(MessageManager.getString("label.quit_after_saving"));
     return messageSB.toString();
   }
+
+  public static void abortQuit()
+  {
+    setResponse(QResponse.CANCEL_QUIT);
+  }
 }
\ No newline at end of file