From ee5718cb9339243dd47eeb410fe101217859c2ff Mon Sep 17 00:00:00 2001 From: kiramt Date: Fri, 4 Nov 2016 16:43:01 +0000 Subject: [PATCH] JAL-2315 Clear sequenceURLLinks if all sequence links are removed. --- src/jalview/gui/Preferences.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Preferences.java b/src/jalview/gui/Preferences.java index 4f094e1..3bffd3a 100755 --- a/src/jalview/gui/Preferences.java +++ b/src/jalview/gui/Preferences.java @@ -20,8 +20,8 @@ */ package jalview.gui; -import static jalview.util.UrlConstants.EMBLEBI_STRING; import static jalview.util.UrlConstants.DB_ACCESSION; +import static jalview.util.UrlConstants.EMBLEBI_STRING; import static jalview.util.UrlConstants.SEQUENCE_ID; import static jalview.util.UrlConstants.SRS_STRING; @@ -567,6 +567,7 @@ public class Preferences extends GPreferences else { Cache.applicationProperties.remove("SEQUENCE_LINKS"); + sequenceURLLinks.clear(); } Cache.applicationProperties.setProperty("USE_PROXY", -- 1.7.10.2