Changeset 15471 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2019-10-23T22:49:27+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #18248 - raise maximum simplify-way.max-error (patch by Bjoeni)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r15431 r15471  
    134134        q.add(new JLabel(tr("Maximum error (meters): ")));
    135135        JSpinner n = new JSpinner(new SpinnerNumberModel(
    136                 s.getDouble(keyError, 3.0), 0.01, 100, 0.5));
     136                s.getDouble(keyError, 3.0), 0.01, null, 0.5));
     137        ((JSpinner.DefaultEditor) n.getEditor()).getTextField().setColumns(4);
    137138        q.add(n);
    138139        q.setBorder(BorderFactory.createEmptyBorder(14, 0, 10, 0));
Note: See TracChangeset for help on using the changeset viewer.