Ignore:
Timestamp:
10.03.2010 15:52:48 (2 years ago)
Author:
Gubaer
Message:

fixed #4701: Tile download

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r3094 r3104  
    194194            w = iScreenSize.width * 90 / 100; 
    195195            h = iScreenSize.height * 90 / 100; 
    196             //iDownloadDialogDimension = iGui.getSize(); 
    197196        } 
    198197        // shrink 
     
    203202            iDownloadDialogDimension = null; 
    204203        } 
    205         // resize and center the DownloadDialog 
    206         //iGui.setBounds((iScreenSize.width - w) / 2, (iScreenSize.height - h) / 2, w, h); 
    207204 
    208205        repaint(); 
     
    228225    } 
    229226 
     227    /** 
     228     * Sets the current bounding box in this bbox chooser without 
     229     * emiting a property change event. 
     230     *  
     231     * @param bbox the bounding box. null to reset the bounding box 
     232     */ 
    230233    @Override 
    231234    public void setBoundingBox(Bounds bbox) { 
    232235        if (bbox == null) { 
    233             Bounds oldValue = this.bbox; 
    234236            this.bbox = null; 
    235             firePropertyChange(BBOX_PROP, oldValue, this.bbox); 
    236237            return; 
    237238        } 
    238239        // test if a bounding box has been set 
    239240        if (bbox.getMin().lat() == 0.0 && bbox.getMin().lon() == 0.0 && bbox.getMax().lat() == 0.0 && bbox.getMax().lon() == 0.0) { 
    240             Bounds oldValue = this.bbox; 
    241241            this.bbox = null; 
    242             firePropertyChange(BBOX_PROP, oldValue, this.bbox); 
    243242        } 
    244243 
     
    261260        setDisplayToFitMapMarkers(); 
    262261        zoomOut(); 
    263  
    264         Bounds oldValue = this.bbox; 
    265262        this.bbox = bbox; 
    266         firePropertyChange(BBOX_PROP, oldValue, this.bbox); 
    267263    } 
    268264} 
Note: See TracChangeset for help on using the changeset viewer.