Changeset 13198 in josm for trunk/src/org


Ignore:
Timestamp:
2017-12-07T21:46:34+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15651 - new property upload.changeset.hashtags to disable automatic changeset hashtags

File:
1 edited

Legend:

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

    r13109 r13198  
    1616import org.openstreetmap.josm.gui.tagging.TagEditorPanel;
    1717import org.openstreetmap.josm.gui.tagging.TagModel;
     18import org.openstreetmap.josm.spi.preferences.Config;
    1819import org.openstreetmap.josm.tools.CheckParameterUtil;
    1920
     
    154155                if (!oldValue.equals(newValue)) {
    155156                    setProperty(key, newValue);
    156                     if (hashtagsKey != null) {
     157                    if (hashtagsKey != null && Config.getPref().getBoolean("upload.changeset.hashtags", true)) {
    157158                        String newHashTags = String.join(";", model.findHashTags());
    158159                        String oldHashTags = Optional.ofNullable(getTagEditorValue(hashtagsKey)).orElse("");
Note: See TracChangeset for help on using the changeset viewer.