JAL-3490 don't init the combo box's history cache for JS execution
[jalview.git] / 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();
   }
 
   /**