Changeset 4360 in josm


Ignore:
Timestamp:
2011-08-27T21:32:28+02:00 (13 years ago)
Author:
xeen
Message:

fix #6739

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r4327 r4360  
    738738
    739739        mode = null;
    740         giveUserFeedback(e);
     740
     741        // simply remove any highlights if the middle click popup is active because
     742        // the highlights don't depend on the cursor position there. If something was
     743        // selected beforehand this would put us into move mode as well, which breaks
     744        // the cycling through primitives on top of each other (see #6739).
     745        if(e.getButton() == MouseEvent.BUTTON2) {
     746            removeHighlighting();
     747        } else {
     748            giveUserFeedback(e);
     749        }
    741750        updateStatusLine();
    742751    }
Note: See TracChangeset for help on using the changeset viewer.