Changeset 3004 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-02-17T19:44:54+01:00 (15 years ago)
Author:
mjulius
Message:

fixes #4533 - JOSM tries to upload a versionless way after it's merged from another layer

save and restore version in OsmPrimitive.saveCommonAttributes() and .load()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r3003 r3004  
    11971197        setVisible(data.isVisible());
    11981198        setIncomplete(data.isIncomplete());
     1199        version = data.getVersion();
    11991200    }
    12001201
     
    12161217        data.setIncomplete(isIncomplete());
    12171218        data.setChangesetId(changesetId);
     1219        data.setVersion(version);
    12181220    }
    12191221
Note: See TracChangeset for help on using the changeset viewer.