Ticket #6484: repaint-mapview-on-parallel-way-mode-entry-exit.patch

File repaint-mapview-on-parallel-way-mode-entry-exit.patch, 786 bytes (added by olejorgenb, 13 years ago)
  • src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java

    diff --git a/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java b/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
    index 96ed096..9ba8be6 100644
    a b public class ParallelWayAction extends MapMode implements AWTEventListener, MapV  
    156156        for (Way w : sourceWays) {
    157157            w.setHighlighted(true);
    158158        }
     159        mv.repaint();
    159160    }
    160161
    161162    @Override
    public class ParallelWayAction extends MapMode implements AWTEventListener, MapV  
    174175        pWays = null;
    175176        sourceWays = null;
    176177        referenceSegment = null;
     178        mv.repaint();
    177179    }
    178180
    179181    @Override