Changeset 34948 in osm for applications


Ignore:
Timestamp:
2019-03-26T00:18:39+01:00 (6 years ago)
Author:
donvip
Message:

fix #josm17518 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawConfigDialog.java

    r34510 r34948  
    6060            public void actionPerformed(ActionEvent e) {
    6161                String s = ClipboardUtils.getClipboardStringContent();
    62                 if (TextTagParser.getValidatedTagsFromText(s, TextTagPaster::warning) != null) {
    63                     addTags.setText(s);
     62                if (s != null) {
     63                    if (TextTagParser.getValidatedTagsFromText(s, TextTagPaster::warning) != null) {
     64                        addTags.setText(s);
     65                    }
    6466                }
    6567            }
Note: See TracChangeset for help on using the changeset viewer.