From: Ben Soares Date: Thu, 12 Oct 2023 15:01:12 +0000 (+0100) Subject: JAL-3772 Fix the logic of prompt to save URL loaded alignments preference X-Git-Tag: Release_2_11_4_0~131^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d9cdc19aade954ea6e952516f529231cf3d31eae;p=jalview.git JAL-3772 Fix the logic of prompt to save URL loaded alignments preference --- diff --git a/src/jalview/io/FileLoader.java b/src/jalview/io/FileLoader.java index de88ce9..b16c37f 100755 --- a/src/jalview/io/FileLoader.java +++ b/src/jalview/io/FileLoader.java @@ -688,8 +688,8 @@ public class FileLoader implements Runnable if (avp == null) return; boolean upToDate = !protocol.isDynamic(); - if (protocol.isUrl() - && Cache.getDefault(PROMPT_SAVE_UNCHANGED_URL_ALIGNMENTS, true)) + if (protocol.isUrl() && !Cache + .getDefault(PROMPT_SAVE_UNCHANGED_URL_ALIGNMENTS, true)) { upToDate = true; }