Changeset 1216 in josm for trunk/src/org
- Timestamp:
- 2009-01-08T23:02:44+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java
r1169 r1216 95 95 backgroundColor = Main.pref.getColor(marktr("background"), Color.BLACK); 96 96 showDirectionArrow = Main.pref.getBoolean("draw.segment.direction"); 97 showRelevantDirectionsOnly = Main.pref.getBoolean("draw.segment.relevant_directions_only" );97 showRelevantDirectionsOnly = Main.pref.getBoolean("draw.segment.relevant_directions_only", true); 98 98 showOrderNumber = Main.pref.getBoolean("draw.segment.order_number"); 99 99 selectedNodeRadius = Main.pref.getInteger("mappaint.node.selected-size", 5) / 2; -
trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
r1212 r1216 118 118 public void actionPerformed(ActionEvent e) { 119 119 if (directionHint.isSelected()){ 120 interestingDirections.setSelected(Main.pref.getBoolean("draw.segment.relevant_directions_only" ));120 interestingDirections.setSelected(Main.pref.getBoolean("draw.segment.relevant_directions_only", true)); 121 121 }else{ 122 122 interestingDirections.setSelected(false); … … 131 131 // only interesting directions 132 132 interestingDirections.setToolTipText(tr("Only interesting direction hints (e.g. with oneway tag).")); 133 interestingDirections.setSelected(Main.pref.getBoolean("draw.segment.relevant_directions_only" ));133 interestingDirections.setSelected(Main.pref.getBoolean("draw.segment.relevant_directions_only", true)); 134 134 interestingDirections.setEnabled(directionHint.isSelected()); 135 135 panel.add(interestingDirections, GBC.eop().insets(40,0,0,0));
Note:
See TracChangeset
for help on using the changeset viewer.