Changeset 7339 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-07-28T00:04:17+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10318 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/ActionFlagsTableCell.java

    r6912 r7339  
    7070
    7171    protected void updateCheckboxes(Object v) {
    72         if (checkBoxes[0] != null && checkBoxes[1] != null) {
     72        if (v != null && checkBoxes[0] != null && checkBoxes[1] != null) {
    7373            boolean[] values;
    7474            if(v instanceof SaveLayerInfo) {
Note: See TracChangeset for help on using the changeset viewer.