Changeset 33017 in osm for applications/editors/josm


Ignore:
Timestamp:
2016-09-28T08:37:56+02:00 (8 years ago)
Author:
simon04
Message:

JOSM/wikipedia: NPE when searching w/o dataset - fixes #josm13716

File:
1 edited

Legend:

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

    r32892 r33017  
    7171                @Override
    7272                public void mouseClicked(MouseEvent e) {
    73                     if (e.getClickCount() == 2 && getSelectedValue() != null) {
     73                    if (e.getClickCount() == 2 && getSelectedValue() != null && Main.getLayerManager().getEditDataSet() != null) {
    7474                        final WikipediaEntry entry = getSelectedValue();
    7575                        if (entry.coordinate != null) {
Note: See TracChangeset for help on using the changeset viewer.