Changeset 1326 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
- Timestamp:
- 2009-01-23T22:22:10+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
r1180 r1326 22 22 23 23 import org.openstreetmap.josm.Main; 24 import org.openstreetmap.josm.plugins.PluginProxy; 24 import org.openstreetmap.josm.plugins.PluginHandler; 25 import org.openstreetmap.josm.tools.BugReportExceptionHandler; 25 26 import org.openstreetmap.josm.tools.GBC; 26 27 import org.openstreetmap.josm.tools.I18n; … … 112 113 } catch (SecurityException e) { 113 114 it.remove(); 115 } catch (Throwable e) { 116 /* allow to change most settings even if e.g. a plugin fails */ 117 BugReportExceptionHandler.handleException(e); 114 118 } 115 119 } … … 133 137 settings.add(new ShortcutPreference()); 134 138 135 for (PluginProxy plugin : Main.plugins) { 136 PreferenceSetting p = plugin.getPreferenceSetting(); 137 if (p != null) 138 settings.add(p); 139 } 139 PluginHandler.getPreferenceSetting(settings); 140 140 141 141 // always the last: advanced tab
Note:
See TracChangeset
for help on using the changeset viewer.