Changeset 1133 in josm
- Timestamp:
- 2008-12-14T11:43:14+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
r1120 r1133 242 242 int width = pluginPanel.myGetWidth(); 243 243 244 // the following could probably be done more elegantly?245 244 Collection<String> enabledPlugins = Main.pref.getCollection("plugins", null); 246 245 247 246 for (final PluginDescription plugin : availablePlugins) { 248 boolean enabled = enabledPlugins.contains(plugin.name); 247 boolean enabled = enabledPlugins != null && enabledPlugins.contains(plugin.name); 249 248 String remoteversion = plugin.version; 250 249 if(remoteversion == null || remoteversion.equals(""))
Note:
See TracChangeset
for help on using the changeset viewer.