Changeset 25045 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
- Timestamp:
- 2011-01-13T23:27:42+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
r24907 r25045 65 65 String codeDepartement = ""; 66 66 String codeCommune = ""; 67 boolean changeInterface = false;68 67 JLabel labelSectionNewLocation = new JLabel(tr("Add a new municipality layer")); 69 68 JPanel p = new JPanel(new GridBagLayout()); … … 105 104 location = inputTown.getText().toUpperCase(); 106 105 codeDepartement = departements[inputDepartement.getSelectedIndex()*2]; 107 changeInterface = true;108 106 Main.pref.put("cadastrewms.location", location); 109 107 Main.pref.put("cadastrewms.codeCommune", codeCommune); … … 130 128 } else if (existingLayers != null && existingLayers.size() > 0 && Main.map.mapView.getActiveLayer() instanceof WMSLayer) { 131 129 wmsLayer = (WMSLayer)Main.map.mapView.getActiveLayer(); 132 changeInterface = true;133 130 } 134 131 135 if (changeInterface)136 CadastrePlugin.cadastreGrabber.getWmsInterface().resetInterfaceRefIfNewLayer(wmsLayer.getName());137 132 return wmsLayer; 138 133 }
Note:
See TracChangeset
for help on using the changeset viewer.
