Changeset 11184 in josm for trunk/src


Ignore:
Timestamp:
2016-10-29T00:44:30+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13826 - AIOOBE in getToolTipText

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java

    r10615 r11184  
    192192                int r = rowAtPoint(event.getPoint());
    193193                int c = columnAtPoint(event.getPoint());
     194                if (r < 0 || c < 0) {
     195                    return getToolTipText();
     196                }
    194197                Object o = getValueAt(r, c);
    195198                if (c == 1 || c == 2) return o.toString();
Note: See TracChangeset for help on using the changeset viewer.