Ignore:
Timestamp:
2009-08-10T12:49:39+02:00 (15 years ago)
Author:
stoecker
Message:

fixed josm 3191 - patch by dmuecke - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java

    r16624 r16961  
    148148
    149149                    // find out whether some data has already been downloaded
    150                     Area present = Main.main.getCurrentDataSet().getDataSourceArea();
     150                    Area present = null;
     151                    if (Main.main.getCurrentDataSet() != null)
     152                        present = Main.main.getCurrentDataSet().getDataSourceArea();
    151153                    if (present != null && !present.isEmpty()) {
    152154                        Area toDownload = new Area(new Rectangle2D.Double(minlon,minlat,maxlon-minlon,maxlat-minlat));
Note: See TracChangeset for help on using the changeset viewer.