Changeset 1769 in josm for trunk/src/org


Ignore:
Timestamp:
2009-07-11T18:09:30+02:00 (15 years ago)
Author:
stoecker
Message:

fix #2902 - patch by jttt - plugin update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginSelection.java

    r1767 r1769  
    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
Note: See TracChangeset for help on using the changeset viewer.