Changeset 13170 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-11-26T14:31:59+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
r12859 r13170 130 130 addFocusListener( 131 131 new FocusAdapter() { 132 @Override public void focusGained(FocusEvent e) { 133 selectAll(); 132 @Override 133 public void focusGained(FocusEvent e) { 134 if (e != null && e.getOppositeComponent() != null) { 135 // Select all characters when the change of focus occurs inside JOSM only. 136 // When switching from another application, it is annoying, see #13747 137 selectAll(); 138 } 134 139 applyFilter(getText()); 135 140 } … … 139 144 addKeyListener( 140 145 new KeyAdapter() { 141 142 146 @Override 143 147 public void keyReleased(KeyEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.