Changeset 12841 in josm for trunk/src/org/openstreetmap/josm/gui/MapStatus.java
- Timestamp:
- 2017-09-13T16:30:27+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r12735 r12841 775 775 public void actionPerformed(ActionEvent e) { 776 776 boolean sel = ((JCheckBoxMenuItem) e.getSource()).getState(); 777 Main.pref.put ("statusbar.always-visible", sel);777 Main.pref.putBoolean("statusbar.always-visible", sel); 778 778 } 779 779 }); … … 1079 1079 // Compute total length of selected way(s) until an arbitrary limit set to 250 ways 1080 1080 // in order to prevent performance issue if a large number of ways are selected (old behaviour kept in that case, see #8403) 1081 int maxWays = Math.max(1, Main.pref.getInt eger("selection.max-ways-for-statusline", 250));1081 int maxWays = Math.max(1, Main.pref.getInt("selection.max-ways-for-statusline", 250)); 1082 1082 if (!ways.isEmpty() && ways.size() <= maxWays) { 1083 1083 dist = 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.