Ticket #2902: updatenotloaded.patch

File updatenotloaded.patch, 921 bytes (added by jttt, 17 years ago)
  • src/org/openstreetmap/josm/plugins/PluginSelection.java

     
    6464
    6565        Set<PluginInformation> toUpdate = new HashSet<PluginInformation>();
    6666        StringBuilder toUpdateStr = new StringBuilder();
    67         for (PluginProxy proxy : PluginHandler.pluginList) {
    68             PluginInformation local = localPlugins.get(proxy.info.name);
     67        for (String pluginName : Main.pref.getCollection("plugins", Collections.<String>emptySet())) {
     68            PluginInformation local = localPlugins.get(pluginName);
    6969            PluginInformation description = availablePlugins.get(local.name);
    7070
    7171            if (description.version != null && !description.version.equals(local.version)) {