Changeset 11340 in josm for trunk/src


Ignore:
Timestamp:
2016-11-28T21:19:00+01:00 (8 years ago)
Author:
simon04
Message:

fix #13950 see #12030 - Custom interchanged shortcuts are broken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Shortcut.java

    r11241 r11340  
    314314        return shortcuts.stream()
    315315                .filter(sameKey.or(sameShortText))
     316                .sorted(Comparator.comparingInt(sc -> sameShortText.test(sc) ? 0 : 1))
    316317                .findAny();
    317318    }
Note: See TracChangeset for help on using the changeset viewer.