Changeset 1075 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2008-11-12T03:48:48+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java
r1072 r1075 216 216 value = null; // delete the key instead 217 217 } 218 if (newkey.equals("created_by")) 219 { 220 // we don't allow created_by to be changed. 221 return; 222 } 218 223 if (key.equals(newkey) || value == null) 219 224 Main.main.undoRedo.add(new ChangePropertyCommand(sel, newkey, value)); … … 232 237 map.get(val).add(osm); 233 238 } else { 234 Vector<OsmPrimitive> v = new 239 Vector<OsmPrimitive> v = new Vector<OsmPrimitive>(); 235 240 v.add(osm); 236 241 map.put(val, v); … … 322 327 if (value.equals("")) 323 328 return; 329 if (key.equals("created_by")) 330 return; 324 331 Main.main.undoRedo.add(new ChangePropertyCommand(sel, key, value)); 325 332 Main.ds.fireSelectionChanged(sel);
Note:
See TracChangeset
for help on using the changeset viewer.