Changeset 8961 in josm for trunk/src/org
- Timestamp:
- 2015-10-27T23:19:34+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/ChangePropertyCommand.java
r8945 r8961 111 111 return true; 112 112 final DataSet dataSet = objects.get(0).getDataSet(); 113 dataSet.beginUpdate(); 113 if (dataSet != null) { 114 dataSet.beginUpdate(); 115 } 114 116 try { 115 117 super.executeCommand(); // save old … … 133 135 return true; 134 136 } finally { 135 dataSet.endUpdate(); 137 if (dataSet != null) { 138 dataSet.endUpdate(); 139 } 136 140 } 137 141 }
Note:
See TracChangeset
for help on using the changeset viewer.