Index: trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java	(revision 638)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java	(revision 642)
@@ -417,7 +417,5 @@
 			return; // Don't create zero length way segments.
 		}
-		
-		Main.map.mapView.repaint();
-		
+
 		// find out the distance, in metres, between the base point and the mouse cursor
 		LatLon mouseLatLon = Main.proj.eastNorth2latlon(currentMouseEastNorth);
@@ -432,4 +430,8 @@
 		Main.map.statusLine.setDist(distance);
 		updateStatusLine();
+
+		if (!drawHelperLine) return;
+
+		Main.map.mapView.repaint();
 	}
 	
