Changeset 4620 in josm for trunk/src/org


Ignore:
Timestamp:
2011-11-29T01:39:27+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #7055 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r4327 r4620  
    373373                    }
    374374                }
    375                 else if (e.getPoint().distance(initialMousePos) > 10 && newN1en != null) {
     375                else if (e.getPoint().distance(initialMousePos) > 10 && newN1en != null && selectedSegment != null) {
    376376                    // create extrusion
    377377
Note: See TracChangeset for help on using the changeset viewer.