Changeset 16236 in josm


Ignore:
Timestamp:
2020-04-06T00:52:40+02:00 (5 years ago)
Author:
Don-vip
Message:

see #15232 - advanced preference upload.show.review.request to disable upload request feedback checkbox

File:
1 edited

Legend:

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

    r16092 r16236  
    183183        add(buildUploadCommentPanel(), BorderLayout.NORTH);
    184184        add(pnlUploadParameterSummary, BorderLayout.CENTER);
    185         add(cbRequestReview, BorderLayout.SOUTH);
    186         cbRequestReview.addItemListener(e -> changesetReviewModel.setReviewRequested(e.getStateChange() == ItemEvent.SELECTED));
     185        if (Config.getPref().getBoolean("upload.show.review.request", true)) {
     186            add(cbRequestReview, BorderLayout.SOUTH);
     187            cbRequestReview.addItemListener(e -> changesetReviewModel.setReviewRequested(e.getStateChange() == ItemEvent.SELECTED));
     188        }
    187189    }
    188190
Note: See TracChangeset for help on using the changeset viewer.