Ignore:
Timestamp:
2017-10-03T22:41:08+02:00 (7 years ago)
Author:
donvip
Message:

fix #josm15385

File:
1 edited

Legend:

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

    r33673 r33696  
    319319            }
    320320            final Collection<OsmPrimitive> selected = MainApplication.getLayerManager().getEditDataSet().getSelected();
    321             if (!GuiUtils.confirmOverwrite(tag.getKey(), tag.getValue(), selected)) {
     321            if (selected.isEmpty() || !GuiUtils.confirmOverwrite(tag.getKey(), tag.getValue(), selected)) {
    322322                return;
    323323            }
Note: See TracChangeset for help on using the changeset viewer.