Changeset 489 in josm for trunk/src/org


Ignore:
Timestamp:
2007-12-14T22:15:12+01:00 (16 years ago)
Author:
gebner
Message:

Reset the progress bar in the PleaseWaitDialog before downloading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r444 r489  
    4040     */
    4141        public GpxData parseRawGps() throws IOException, SAXException {
     42                Main.pleaseWaitDlg.progress.setValue(0);
    4243                Main.pleaseWaitDlg.currentAction.setText(tr("Contacting OSM Server..."));
    4344        try {
     
    9091    public DataSet parseOsm() throws SAXException, IOException {
    9192        try {
     93                        Main.pleaseWaitDlg.progress.setValue(0);
    9294                Main.pleaseWaitDlg.currentAction.setText(tr("Contacting OSM Server..."));
    9395                final InputStream in = getInputStream("map?bbox="+lon1+","+lat1+","+lon2+","+lat2, Main.pleaseWaitDlg);
Note: See TracChangeset for help on using the changeset viewer.