Changeset 34235 in osm for applications


Ignore:
Timestamp:
2018-05-30T17:31:27+02:00 (7 years ago)
Author:
biswesh
Message:

Fix issues in double split map mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/DoubleSplitAction.java

    r34234 r34235  
    594594                                if (type != 2) {
    595595//                                      selectedWay.get(1).setKeys(newKeys2);
    596                                         MainApplication.undoRedo.add(new ChangePropertyCommand(Collections.singleton(selectedWay.get(0)), newKeys2));
     596                                        MainApplication.undoRedo.add(new ChangePropertyCommand(Collections.singleton(selectedWay.get(1)), newKeys2));
    597597                                } else {
    598                                         MainApplication.undoRedo.add(new ChangePropertyCommand(Collections.singleton(selectedWay.get(0)), newKeys2));
     598                                        MainApplication.undoRedo.add(new ChangePropertyCommand(Collections.singleton(selectedWay.get(1)), newKeys2));
    599599                                }
    600600                        }
Note: See TracChangeset for help on using the changeset viewer.