Changeset 3585 in josm for trunk/src/org


Ignore:
Timestamp:
2010-10-03T15:41:11+02:00 (14 years ago)
Author:
jttt
Message:

Fix #5519 josm plugin sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java

    r3530 r3585  
    502502                            list.getSelectedValue()
    503503                    );
    504                     model.setElementAt(s, list.getSelectedIndex());
     504                    if (s != null) {
     505                        model.setElementAt(s, list.getSelectedIndex());
     506                    }
    505507                }
    506508            }), GBC.eol().fill(GBC.HORIZONTAL));
Note: See TracChangeset for help on using the changeset viewer.