Ignore:
Timestamp:
2013-10-23T20:08:09+02:00 (11 years ago)
Author:
akks
Message:

fix #9200: repair tags copy-pasting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java

    r6319 r6321  
    3838
    3939import org.openstreetmap.josm.Main;
     40import org.openstreetmap.josm.actions.CopyAction;
    4041import org.openstreetmap.josm.actions.PasteTagsAction;
    4142import org.openstreetmap.josm.data.osm.OsmPrimitive;
     
    334335           
    335336            String buf = Utils.getClipboardContent();
    336             if (buf == null || buf.isEmpty() || buf.matches("(\\d+,)*\\d+")) {
     337            if (buf == null || buf.isEmpty() || buf.matches(CopyAction.CLIPBOARD_REGEXP)) {
    337338                List<PrimitiveData> directlyAdded = Main.pasteBuffer.getDirectlyAdded();
    338339                if (directlyAdded==null || directlyAdded.isEmpty()) return;
Note: See TracChangeset for help on using the changeset viewer.