From: kiramt Date: Fri, 4 Nov 2016 16:43:01 +0000 (+0000) Subject: JAL-2315 Clear sequenceURLLinks if all sequence links are removed. X-Git-Tag: Release_2_10_1^2~8^2~6^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ee5718cb9339243dd47eeb410fe101217859c2ff;p=jalview.git JAL-2315 Clear sequenceURLLinks if all sequence links are removed. --- 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",