From d9cdc19aade954ea6e952516f529231cf3d31eae Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Thu, 12 Oct 2023 16:01:12 +0100 Subject: [PATCH] JAL-3772 Fix the logic of prompt to save URL loaded alignments preference --- src/jalview/io/FileLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.7.10.2