From 6703c43876aef57616388139c30b05ef53440b07 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 17 Aug 2020 15:53:20 +0100 Subject: [PATCH 1/1] JAL-3490 don't init the combo box's history cache for JS execution --- src/jalview/io/cache/JvCacheableInputBox.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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(); } /** -- 1.7.10.2