Changeset 12674 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
- Timestamp:
- 2017-08-27T17:29:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r12486 r12674 273 273 274 274 private static String projectionChoice; 275 275 276 276 private static final StringProperty PROP_PROJECTION_DEFAULT = new StringProperty("projection.default", mercator.getId()); 277 277 private static final StringProperty PROP_COORDINATES = new StringProperty("coordinates", null); 278 278 private static final CollectionProperty PROP_SUB_PROJECTION_DEFAULT = new CollectionProperty("projection.default.sub", null); 279 public static final StringProperty PROP_SYSTEM_OF_MEASUREMENT = new StringProperty("system_of_measurement", "Metric");280 279 private static final String[] unitsValues = ALL_SYSTEMS.keySet().toArray(new String[ALL_SYSTEMS.size()]); 281 280 private static final String[] unitsValuesTr = new String[unitsValues.length]; … … 339 338 340 339 for (int i = 0; i < unitsValues.length; ++i) { 341 if (unitsValues[i].equals( PROP_SYSTEM_OF_MEASUREMENT.get())) {340 if (unitsValues[i].equals(SystemOfMeasurement.PROP_SYSTEM_OF_MEASUREMENT.get())) { 342 341 unitsCombo.setSelectedIndex(i); 343 342 break;
Note:
See TracChangeset
for help on using the changeset viewer.