Ticket #8595: 8595.diff

File 8595.diff, 760 bytes (added by mdk, 11 years ago)

patch

  • src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitObjectAction.java

     
    8685                    selectedWay = selWay;           // use another way as selected way
    8786                }
    8887            }
     88        } else if (selectedWays.size() == 1) {
     89            selectedWay = selectedWays.get(0);      // two nodes and a way is selected, so use this selected way
    8990        }
    9091
    9192        // If only nodes are selected, try to guess which way to split. This works if there