Changeset 16986 in josm


Ignore:
Timestamp:
2020-08-30T22:37:29+02:00 (4 weeks ago)
Author:
simon04
Message:

fix #19736 - MapStatus displays non-localized SystemOfMeasurement name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapStatus.java

    r16985 r16986  
    835835                    Component invoker = ((JPopupMenu) e.getSource()).getInvoker();
    836836                    jumpButton.setVisible(latText.equals(invoker) || lonText.equals(invoker));
    837                     String currentSOM = SystemOfMeasurement.PROP_SYSTEM_OF_MEASUREMENT.get();
     837                    String currentSOM = SystemOfMeasurement.getSystemOfMeasurement().toString();
    838838                    for (JMenuItem item : somItems) {
    839839                        item.setSelected(item.getText().equals(currentSOM));
Note: See TracChangeset for help on using the changeset viewer.