Index: /trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 5074)
+++ /trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 5075)
@@ -303,9 +303,9 @@
             DataSet ds = getCurrentDataSet();
             if (ds != null) {
-                ds.setHighlightedVirtualNodes(virtualWays);
+                if(drawTargetHighlight) ds.setHighlightedVirtualNodes(virtualWays);
             }
             mv.setNewCursor(SelectActionCursor.virtual_node.cursor(), this);
             // don't highlight anything else if a virtual node will be
-            return true;
+            return drawTargetHighlight; // if no highlighting, repaint is not needed
         }
 
