Changeset 7590 in josm for trunk/src/org


Ignore:
Timestamp:
2014-09-30T22:03:14+02:00 (5 years ago)
Author:
Don-vip
Message:

see #9564 - fix NPE seen while reproducing error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapMover.java

    r7543 r7590  
    138138        boolean macMovement = Main.isPlatformOsx() && e.getModifiersEx() == macMouseMask;
    139139        boolean allowedMode = !Main.map.mapModeSelect.equals(Main.map.mapMode)
    140                           || Main.map.mapModeSelect.getMode().equals(SelectAction.Mode.SELECT);
     140                          || SelectAction.Mode.SELECT.equals(Main.map.mapModeSelect.getMode());
    141141        if (stdMovement || (macMovement && allowedMode)) {
    142142            if (mousePosMove == null)
Note: See TracChangeset for help on using the changeset viewer.