Changeset 13724 in josm


Ignore:
Timestamp:
2018-05-10T22:56:21+02:00 (6 weeks ago)
Author:
Don-vip
Message:

fix #15124 - remember settings in "download along track" panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java

    r12846 r13724  
    6969
    7070        add(new JLabel(tr("Download everything within:")), GBC.std());
    71         buffer = new JSpinner(new SpinnerNumberModel(50.0, 10.0, 5000.0, 1.0));
     71        buffer = new JSpinner(new SpinnerNumberModel(Config.getPref().getDouble(prefDist, 50.0), 10.0, 5000.0, 1.0));
    7272        add(buffer, GBC.std().insets(5, 5, 5, 5));
    7373        add(new JLabel(tr("meters")), GBC.eol());
    7474
    7575        add(new JLabel(tr("Maximum area per request:")), GBC.std());
    76         maxRect = new JSpinner(new SpinnerNumberModel(20.0, 0.01, 25.0, 1.0)) {
     76        maxRect = new JSpinner(new SpinnerNumberModel(Config.getPref().getDouble(prefArea, 20.0), 0.01, 25.0, 1.0)) {
    7777            @Override
    7878            public Dimension getPreferredSize() {
Note: See TracChangeset for help on using the changeset viewer.