Index: trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java	(revision 3300)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java	(revision 3301)
@@ -153,4 +153,5 @@
 
         Color myColor = color;
+        Color myDashedColor = dashedColor;
         int myWidth = getWidth();
 
@@ -183,4 +184,5 @@
         } else if(w.isDisabled()) {
             myColor = paintSettings.getInactiveColor();
+            myDashedColor = paintSettings.getInactiveColor();
         }
 
@@ -190,5 +192,7 @@
                 if(!s.over) {
                     painter.drawWay(w, (s.color == null || selected) ? myColor: s.color, s.getWidth(myWidth),
-                            s.getDashed(), s.dashedColor, false, false, false);
+                            s.getDashed(),
+                            w.isDisabled() ? paintSettings.getInactiveColor() : s.dashedColor,
+                            false, false, false);
                 }
             }
@@ -196,5 +200,5 @@
 
         /* draw the way */
-        painter.drawWay(w, myColor, myWidth, dashed, dashedColor, showDirection, selected ? false : reversedDirection, showOnlyHeadArrowOnly);
+        painter.drawWay(w, myColor, myWidth, dashed, myDashedColor, showDirection, selected ? false : reversedDirection, showOnlyHeadArrowOnly);
 
         /* draw overlays above the way */
