- Timestamp:
- 2009-07-12T09:37:16+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/relation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r1764 r1770 544 544 Main.main.undoRedo.add(new AddCommand(getClone())); 545 545 DataSet.fireSelectionChanged(Main.ds.getSelected()); 546 } else if (! getRelation().hasEqualSemanticAttributes(getClone()) ) {546 } else if (! getRelation().hasEqualSemanticAttributes(getClone()) || tagEditorModel.isDirty()) { 547 547 tagEditorModel.applyToPrimitive(getClone()); 548 548 Main.main.undoRedo.add(new ChangeCommand(getRelation(), getClone())); -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/TagEditorModel.java
r1762 r1770 457 457 } 458 458 } 459 460 /** 461 * replies true, if this model has been updated 462 * 463 * @return true, if this model has been updated 464 */ 465 public boolean isDirty() { 466 return dirty; 467 } 459 468 }
Note:
See TracChangeset
for help on using the changeset viewer.