Changeset 34104 in osm for applications/editors
- Timestamp:
- 2018-03-25T05:11:54+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/StoreImageryOffsetAction.java
r33774 r34104 74 74 if (selectedObjects.size() == 1) { 75 75 OsmPrimitive selection = selectedObjects.iterator().next(); 76 if ((selection instanceof Node || selection instanceof Way) && !selection.isIncomplete() && !selection.isReferredByWays(1)) { 76 if (!selection.isIncomplete() && (selection instanceof Way || 77 (selection instanceof Node && !((Node) selection).isReferredByWays(1)))) { 77 78 String[] options = new String[] {tr("Store calibration geometry"), tr("Store imagery offset")}; 78 79 int result = JOptionPane.showOptionDialog(Main.parent,
Note:
See TracChangeset
for help on using the changeset viewer.