Changeset 3409 in josm
- Timestamp:
- 2010-08-03T08:47:51+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r3230 r3409 35 35 import org.openstreetmap.josm.data.osm.TagCollection; 36 36 import org.openstreetmap.josm.data.osm.Way; 37 import org.openstreetmap.josm.data.preferences.BooleanProperty; 37 38 import org.openstreetmap.josm.gui.ExtendedDialog; 38 39 import org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog; … … 45 46 */ 46 47 public class CombineWayAction extends JosmAction { 48 49 private static final BooleanProperty PROP_REVERSE_WAY = new BooleanProperty("tag-correction.reverse-way", true); 47 50 48 51 public CombineWayAction() { … … 154 157 } 155 158 // if there are still reversed ways with direction-dependent tags, reverse their tags 156 if (!reversedWays.isEmpty() && Main.pref.getBoolean("tag-correction.reverse-way", true)) {159 if (!reversedWays.isEmpty() && PROP_REVERSE_WAY.get()) { 157 160 List<Way> unreversedTagWays = new ArrayList<Way>(ways); 158 161 unreversedTagWays.removeAll(reversedWays);
Note:
See TracChangeset
for help on using the changeset viewer.