JAL-3490 don't init the combo box's history cache for JS execution
authorJim Procter <jprocter@issues.jalview.org>
Mon, 17 Aug 2020 14:53:20 +0000 (15:53 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 17 Aug 2020 14:53:20 +0000 (15:53 +0100)
src/jalview/io/cache/JvCacheableInputBox.java

index cd89ea9..eedf09a 100644 (file)
@@ -145,11 +145,10 @@ public class JvCacheableInputBox<E>
         }
       });
       comboBox.setPrototypeDisplayValue(prototypeDisplayValue);
+      initCachePopupMenu();
+      initCache(newCacheKey);
+      updateCache();
     }
-    appCache = AppCache.getInstance();
-    initCachePopupMenu();
-    initCache(newCacheKey);
-    updateCache();
   }
 
   /**