Changeset 1464 in josm for trunk/src


Ignore:
Timestamp:
2009-03-07T13:24:26+01:00 (16 years ago)
Author:
stoecker
Message:

close #2217. patch by xeen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UpdateDataAction.java

    r1437 r1464  
    1010import java.util.ArrayList;
    1111import java.util.List;
     12
     13import javax.swing.JOptionPane;
    1214
    1315import org.openstreetmap.josm.Main;
     
    6769        }
    6870
     71        if(bboxCount == 0) {
     72            JOptionPane.showMessageDialog(Main.parent,
     73                        tr("No data to update found. Have you already opened or downloaded a data layer?"));
     74                return;
     75        }
     76       
    6977        int result = new ExtendedDialog(Main.parent,
    7078                tr("Update Data"),
Note: See TracChangeset for help on using the changeset viewer.