Changeset 16237 in josm for trunk/src/org


Ignore:
Timestamp:
2020-04-06T01:03:26+02:00 (5 years ago)
Author:
Don-vip
Message:

see #18429 - advanced preference upload.show.automatic.source to disable automatic source retrieval UI

File:
1 edited

Legend:

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

    r16236 r16237  
    108108        obtainSource.add(obtainSourceOnce, GBC.std().anchor(GBC.WEST));
    109109        obtainSource.add(new JLabel(), GBC.eol().fill(GBC.HORIZONTAL));
    110         pnl.add(obtainSource, GBC.eol().insets(0, 0, 10, 3).fill(GBC.HORIZONTAL));
     110        if (Config.getPref().getBoolean("upload.show.automatic.source", true)) {
     111            pnl.add(obtainSource, GBC.eol().insets(0, 0, 10, 3).fill(GBC.HORIZONTAL));
     112        }
    111113
    112114        hcbUploadSource.setToolTipText(tr("Enter a source"));
Note: See TracChangeset for help on using the changeset viewer.