| | 2 | |
| | 3 | EDIT: |
| | 4 | This has a really easy fix: |
| | 5 | {{{#!diff |
| | 6 | Index: src/org/openstreetmap/josm/io/OsmChangeReader.java |
| | 7 | IDEA additional info: |
| | 8 | Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| | 9 | <+>UTF-8 |
| | 10 | =================================================================== |
| | 11 | diff --git a/src/org/openstreetmap/josm/io/OsmChangeReader.java b/src/org/openstreetmap/josm/io/OsmChangeReader.java |
| | 12 | --- a/src/org/openstreetmap/josm/io/OsmChangeReader.java (revision 18692) |
| | 13 | +++ b/src/org/openstreetmap/josm/io/OsmChangeReader.java (date 1678825659261) |
| | 14 | @@ -92,7 +92,7 @@ |
| | 15 | parseUnknown(); |
| | 16 | } |
| | 17 | if (p != null && action != null) { |
| | 18 | - if ("modify".equals(action)) { |
| | 19 | + if ("create".equals(action) || "modify".equals(action)) { |
| | 20 | p.setModified(true); |
| | 21 | } else if ("delete".equals(action)) { |
| | 22 | p.setDeleted(true); |
| | 23 | }}} |
| | 24 | Now I just have to write a test for it. |