From: Jim Procter Date: Mon, 17 Aug 2020 14:53:20 +0000 (+0100) Subject: JAL-3490 don't init the combo box's history cache for JS execution X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~2^2^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6703c43876aef57616388139c30b05ef53440b07;hp=6b13a606027284408286d1cd2833470d1f9b9bfe;p=jalview.git JAL-3490 don't init the combo box's history cache for JS execution --- diff --git a/src/jalview/io/cache/JvCacheableInputBox.java b/src/jalview/io/cache/JvCacheableInputBox.java index cd89ea9..eedf09a 100644 --- a/src/jalview/io/cache/JvCacheableInputBox.java +++ b/src/jalview/io/cache/JvCacheableInputBox.java @@ -145,11 +145,10 @@ public class JvCacheableInputBox } }); comboBox.setPrototypeDisplayValue(prototypeDisplayValue); + initCachePopupMenu(); + initCache(newCacheKey); + updateCache(); } - appCache = AppCache.getInstance(); - initCachePopupMenu(); - initCache(newCacheKey); - updateCache(); } /**