Changeset 3585 in josm


Ignore:
Timestamp:
Oct 3, 2010 3:41:11 PM (3 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.