Changeset 4620 in josm


Ignore:
Timestamp:
Nov 29, 2011 1:39:27 AM (19 months 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.