| 3 | | I believe |
| 4 | | {{{#!diff |
| 5 | | Index: src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java |
| 6 | | IDEA additional info: |
| 7 | | Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| 8 | | <+>UTF-8 |
| 9 | | =================================================================== |
| 10 | | diff --git a/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java b/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java |
| 11 | | --- a/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java (revision 18788) |
| 12 | | +++ b/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java (date 1690829714515) |
| 13 | | @@ -201,9 +201,7 @@ |
| 14 | | |
| 15 | | @Override |
| 16 | | public Collection<OsmPrimitive> getSelection() { |
| 17 | | - Relation relation = new Relation(); |
| 18 | | - tagEditorPanel.getModel().applyToPrimitive(relation); |
| 19 | | - return Collections.<OsmPrimitive>singletonList(relation); |
| 20 | | + return Collections.singletonList(getRelation()); |
| 21 | | } |
| 22 | | }; |
| 23 | | |
| 24 | | }}} |
| 25 | | will fix the problem. I'll write a test for it first though, if it isn't extraordinarily difficult. |
| | 3 | I believe [the attached patch] will fix the problem. I'll write a test for it first though, if it isn't extraordinarily difficult. |