Changeset 13726 in josm for trunk/src/org


Ignore:
Timestamp:
2018-05-10T23:37:06+02:00 (19 months ago)
Author:
Don-vip
Message:

see #14835 - log a warning message when focus cannot be set

File:
1 edited

Legend:

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

    r13493 r13726  
    479479        Component c = getEditorComponent();
    480480        if (c != null) {
    481             c.requestFocusInWindow();
     481            if (!c.requestFocusInWindow()) {
     482                Logging.warn("Unable to request focus for " + c);
     483            }
    482484            if (c instanceof JTextComponent) {
    483485                 ((JTextComponent) c).selectAll();
Note: See TracChangeset for help on using the changeset viewer.