Changeset 35820 in osm for applications/editors/josm/plugins
- Timestamp:
- 2021-09-25T13:49:18+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/DrawBuildingAction.java
r35818 r35820 112 112 MapFrame map = MainApplication.getMap(); 113 113 // Don't change cursor when mode has changed already 114 if ( !(map.mapMode instanceof DrawBuildingAction))114 if (map != null && !(map.mapMode instanceof DrawBuildingAction)) 115 115 return; 116 116 map.mapView.setCursor(c);
Note:
See TracChangeset
for help on using the changeset viewer.