Changeset 28474 in osm for applications/editors/josm


Ignore:
Timestamp:
2012-07-12T12:33:07+02:00 (12 years ago)
Author:
simon04
Message:

JOSM/wikipedia: fix NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java

    r28472 r28474  
    319319                        Main.parent,
    320320                        tr("Enter the Wikipedia category"));
     321                if (category == null) {
     322                    return;
     323                }
    321324                final String url = "http://toolserver.org/~daniel/WikiSense/CategoryIntersect.php?"
    322325                        + "wikilang=" + wikipediaLang.get()
Note: See TracChangeset for help on using the changeset viewer.