Changeset 21202 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
- Timestamp:
- 2010-05-09T18:09:25+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
r21191 r21202 78 78 } 79 79 inputDepartement.setToolTipText(tr("<html>Departement number (optional)</html>")); 80 80 if (!Main.pref.get("cadastrewms.codeDepartement").equals("")) { 81 for (int i=0; i < departements.length; i=i+2) 82 if (departements[i].equals(Main.pref.get("cadastrewms.codeDepartement"))) 83 inputDepartement.setSelectedIndex(i/2); 84 } 81 85 p.add(labelSectionNewLocation, GBC.eol()); 82 86 p.add(labelLocation, GBC.std().insets(10, 0, 0, 0)); … … 104 108 Main.pref.put("cadastrewms.location", location); 105 109 Main.pref.put("cadastrewms.codeCommune", codeCommune); 110 Main.pref.put("cadastrewms.codeDepartement", codeDepartement); 106 111 if (Main.map != null) { 107 112 for (Layer l : Main.map.mapView.getAllLayers()) {
Note:
See TracChangeset
for help on using the changeset viewer.
