Changeset 3138 in josm for trunk/src/org
- Timestamp:
- 2010-03-15T16:05:34+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetTagsPanel.java
r3083 r3138 41 41 42 42 protected void init(Changeset cs) { 43 model.clear();44 if (cs == null)43 if (cs == null) { 44 model.clear(); 45 45 return; 46 } 46 47 model.initFromTags(cs.getKeys()); 47 48 } -
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r3137 r3138 303 303 */ 304 304 public void initFromPrimitive(Tagged primitive) { 305 clear();305 this.tags.clear(); 306 306 for (String key : primitive.keySet()) { 307 307 String value = primitive.get(key); … … 320 320 */ 321 321 public void initFromTags(Map<String,String> tags) { 322 clear();322 this.tags.clear(); 323 323 for (String key : tags.keySet()) { 324 324 String value = tags.get(key); … … 338 338 */ 339 339 public void initFromTags(TagCollection tags) { 340 clear();340 this.tags.clear(); 341 341 if (tags == null){ 342 342 setDirty(false);
Note:
See TracChangeset
for help on using the changeset viewer.