Ticket #10827: note_only_download.patch

File note_only_download.patch, 907 bytes (added by ToeBee, 11 years ago)
  • src/org/openstreetmap/josm/gui/download/DownloadDialog.java

     
    483483                );
    484484                return;
    485485            }
    486             //TODO: add notes into this logic once they are fully enabled in core
    487             if (!isDownloadOsmData() && !isDownloadGpxData()) {
     486            if (!isDownloadOsmData() && !isDownloadGpxData() && !isDownloadNotes()) {
     487                //TODO: When notes are enabled, change this message to include downloading notes
    488488                JOptionPane.showMessageDialog(
    489489                        DownloadDialog.this,
    490490                        tr("<html>Neither <strong>{0}</strong> nor <strong>{1}</strong> is enabled.<br>"