Ignore:
Timestamp:
2017-11-20T23:50:18+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #13747 - do not select all characters from a combobox when switching between JOSM and another application

File:
1 edited

Legend:

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

    r12859 r13139  
    7676                    sysSel.setContents(old, null);
    7777                }
    78             } else {
     78            } else if (e != null && e.getOppositeComponent() != null) {
     79                // Select all characters when the change of focus occurs inside JOSM only.
     80                // When switching from another application, it is annoying, see #13747
    7981                editorComponent.selectAll();
    8082            }
Note: See TracChangeset for help on using the changeset viewer.