Changeset 14277 in josm for trunk/src


Ignore:
Timestamp:
2018-09-28T01:09:23+02:00 (15 months ago)
Author:
Don-vip
Message:

fix #16784 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java

    r14153 r14277  
    9797                    && childTree.getRowForLocation(e.getX(), e.getY()) == childTree.getMinSelectionRow()) {
    9898                    Relation r = (Relation) childTree.getLastSelectedPathComponent();
    99                     if (r.isIncomplete()) {
     99                    if (r != null && r.isIncomplete()) {
    100100                        childTree.expandPath(childTree.getSelectionPath());
    101101                    } else {
Note: See TracChangeset for help on using the changeset viewer.