Changeset 19894 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java
- Timestamp:
- 2010-02-06T23:41:55+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java
r18544 r19894 41 41 if (existingWMSlayers.size() == 0) 42 42 return new MenuActionNewLocation().addNewLayer(existingWMSlayers); 43 JOptionPane.showMessageDialog(Main.parent, 44 tr("More than one WMS layer present\nSelect one of them first, then retry")); 43 if (Main.pref.getBoolean("cadastrewms.autoFirstLayer", false)) { 44 return existingWMSlayers.get(0); 45 } else { 46 JOptionPane.showMessageDialog(Main.parent, 47 tr("More than one WMS layer present\nSelect one of them first, then retry")); 48 } 45 49 } else { 46 50 return new MenuActionNewLocation().addNewLayer(existingWMSlayers);
Note:
See TracChangeset
for help on using the changeset viewer.
