Changeset 5789 in josm for trunk/src/org
- Timestamp:
- 2013-03-21T00:50:36+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r5773 r5789 1145 1145 String key = propertyData.getValueAt(propertyTable.getSelectedRow(), 0).toString(); 1146 1146 Collection<OsmPrimitive> sel = Main.main.getCurrentDataSet().getSelected(); 1147 String value = Utils.getClipboardContent().trim();1148 if (sel.isEmpty() )1147 String clipboard = Utils.getClipboardContent(); 1148 if (sel.isEmpty() || clipboard == null) 1149 1149 return; 1150 Main.main.undoRedo.add(new ChangePropertyCommand(sel, key, value));1150 Main.main.undoRedo.add(new ChangePropertyCommand(sel, key, Utils.strip(clipboard))); 1151 1151 } 1152 1152 }
Note:
See TracChangeset
for help on using the changeset viewer.